Click here to Skip to main content
15,890,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: mailmessage in CSharp Pin
Sascha Lefèvre5-May-15 1:28
professionalSascha Lefèvre5-May-15 1:28 
GeneralRe: mailmessage in CSharp Pin
Faheem Uddin Qureshi5-May-15 1:36
Faheem Uddin Qureshi5-May-15 1:36 
GeneralRe: mailmessage in CSharp Pin
Sascha Lefèvre5-May-15 1:46
professionalSascha Lefèvre5-May-15 1:46 
AnswerRe: mailmessage in CSharp Pin
Gerry Schmitz5-May-15 10:33
mveGerry Schmitz5-May-15 10:33 
Question[Solved] Multi Page Application Pin
Usmanaf4-May-15 23:19
Usmanaf4-May-15 23:19 
AnswerRe: Multi Page Application Pin
OriginalGriff4-May-15 23:33
mveOriginalGriff4-May-15 23:33 
GeneralRe: Multi Page Application Pin
Usmanaf5-May-15 0:56
Usmanaf5-May-15 0:56 
GeneralRe: Multi Page Application Pin
OriginalGriff5-May-15 1:06
mveOriginalGriff5-May-15 1:06 
OK - so create a new form, and call it frmSettings.
Populate it with your controls, and add "OK" and "Cancel" buttons.
For the OK Button, set the DialogResult property to "OK"
For the Cancel Button, set the DialogResult to "Cancel"
Highlight the form, and set the AcceptButton property to the OK button.
Then set the CancelButton property to the Cancel button.
Add Properties to let you transfer data into and out of your form.

Go back to your main form, and add this code to your Setting button Click event handler:
C#
frmSettings fs = new frmSettings();
// Set the properties here
if (fs.ShowDialog() == DialogResult.OK)
   {
   // Get the changed properties here
   }
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: Multi Page Application Pin
Usmanaf5-May-15 1:33
Usmanaf5-May-15 1:33 
GeneralRe: Multi Page Application Pin
OriginalGriff5-May-15 2:21
mveOriginalGriff5-May-15 2:21 
GeneralRe: Multi Page Application Pin
Sascha Lefèvre5-May-15 1:43
professionalSascha Lefèvre5-May-15 1:43 
QuestionHow to use chrome webbrowser in C# .NET windows form application Pin
Member 116126623-May-15 23:22
Member 116126623-May-15 23:22 
AnswerRe: How to use chrome webbrowser in C# .NET windows form application Pin
Eddy Vluggen3-May-15 23:24
professionalEddy Vluggen3-May-15 23:24 
GeneralRe: How to use chrome webbrowser in C# .NET windows form application Pin
Member 116126624-May-15 16:09
Member 116126624-May-15 16:09 
QuestionHow to use "altChunk" to put HTML into a MS Word object that is embedded into a PowerPoint slide? Pin
pats2Kdynasty3-May-15 11:53
pats2Kdynasty3-May-15 11:53 
QuestionGoogle Speech Recognition Pin
Member 114365473-May-15 1:17
Member 114365473-May-15 1:17 
AnswerRe: Google Speech Recognition Pin
Richard MacCutchan3-May-15 2:14
mveRichard MacCutchan3-May-15 2:14 
GeneralRe: Google Speech Recognition Pin
Member 114365473-May-15 2:17
Member 114365473-May-15 2:17 
GeneralRe: Google Speech Recognition Pin
Richard MacCutchan3-May-15 2:24
mveRichard MacCutchan3-May-15 2:24 
GeneralRe: Google Speech Recognition Pin
Member 114365473-May-15 2:27
Member 114365473-May-15 2:27 
GeneralRe: Google Speech Recognition Pin
Sascha Lefèvre3-May-15 3:00
professionalSascha Lefèvre3-May-15 3:00 
GeneralRe: Google Speech Recognition Pin
Member 114365473-May-15 3:30
Member 114365473-May-15 3:30 
GeneralRe: Google Speech Recognition Pin
OriginalGriff3-May-15 3:53
mveOriginalGriff3-May-15 3:53 
GeneralRe: Google Speech Recognition Pin
Member 114365473-May-15 4:06
Member 114365473-May-15 4:06 
GeneralRe: Google Speech Recognition Pin
OriginalGriff3-May-15 4:17
mveOriginalGriff3-May-15 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.