Click here to Skip to main content
16,004,678 members
Home / Discussions / C#
   

C#

 
GeneralRe: Saving windows forms created at runtime Pin
Colin Angus Mackay16-Dec-03 13:01
Colin Angus Mackay16-Dec-03 13:01 
GeneralRe: Saving windows forms created at runtime Pin
Nigel Savidge17-Dec-03 4:30
Nigel Savidge17-Dec-03 4:30 
GeneralThreads and Controls Pin
Guinness4Strength16-Dec-03 11:59
Guinness4Strength16-Dec-03 11:59 
GeneralRe: Threads and Controls Pin
Mike Ellison16-Dec-03 14:15
Mike Ellison16-Dec-03 14:15 
GeneralRe: Threads and Controls Pin
Heath Stewart17-Dec-03 3:35
protectorHeath Stewart17-Dec-03 3:35 
GeneralMdi problemo Pin
datainjector16-Dec-03 10:09
datainjector16-Dec-03 10:09 
GeneralRe: Mdi problemo Pin
Heath Stewart17-Dec-03 3:29
protectorHeath Stewart17-Dec-03 3:29 
GeneralRe: Mdi problemo Pin
Heath Stewart17-Dec-03 3:32
protectorHeath Stewart17-Dec-03 3:32 
Oh, and as far as validating inputs, it's common practice to not let the user close the dialog until they've either canceled the dialog or enter the valid values. You should also get a DialogResult back from the ShowDialog call so you know what the user did:
DialogResult result = cust.ShowDialog();
if (result != DialogResult.OK) return;
Or something like that. Then, in your form, make sure your OK and Cancel buttons have the right DialogResult property set (OK or Cancel), and that your form specifies the Form.AcceptButton and Form.CancelButton.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Mdi problemo Pin
datainjector17-Dec-03 10:15
datainjector17-Dec-03 10:15 
GeneralRemote Debugging Pin
mikemilano16-Dec-03 9:13
mikemilano16-Dec-03 9:13 
GeneralRe: Remote Debugging Pin
Heath Stewart17-Dec-03 3:23
protectorHeath Stewart17-Dec-03 3:23 
Generalcontext menu with drag/drop and right click Pin
mikelb16-Dec-03 4:37
mikelb16-Dec-03 4:37 
Generalinterfaces and GUIDS Pin
Jinwah16-Dec-03 4:27
Jinwah16-Dec-03 4:27 
GeneralRe: interfaces and GUIDS Pin
Heath Stewart16-Dec-03 5:11
protectorHeath Stewart16-Dec-03 5:11 
GeneralRe: interfaces and GUIDS Pin
Jinwah16-Dec-03 5:34
Jinwah16-Dec-03 5:34 
GeneralRe: interfaces and GUIDS Pin
Heath Stewart16-Dec-03 5:45
protectorHeath Stewart16-Dec-03 5:45 
GeneralRe: interfaces and GUIDS Pin
Jinwah16-Dec-03 22:04
Jinwah16-Dec-03 22:04 
GeneralRe: interfaces and GUIDS Pin
Heath Stewart17-Dec-03 3:13
protectorHeath Stewart17-Dec-03 3:13 
GeneralRe: interfaces and GUIDS Pin
Member 26118817-Dec-03 6:02
Member 26118817-Dec-03 6:02 
GeneralSetting Up Computer to run IIS/ASP.NETwith C# Pin
Larry J. Siddens16-Dec-03 4:22
Larry J. Siddens16-Dec-03 4:22 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Heath Stewart16-Dec-03 5:08
protectorHeath Stewart16-Dec-03 5:08 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Larry J. Siddens16-Dec-03 7:03
Larry J. Siddens16-Dec-03 7:03 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Heath Stewart16-Dec-03 11:06
protectorHeath Stewart16-Dec-03 11:06 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Not Active17-Dec-03 3:22
mentorNot Active17-Dec-03 3:22 
Generalproblem with a shared assembly in a VS solution Pin
Tim Kohler16-Dec-03 3:19
Tim Kohler16-Dec-03 3:19 

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.