Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: User Control Tutorial Pin
baranils2-Oct-08 10:53
baranils2-Oct-08 10:53 
GeneralRe: User Control Tutorial Pin
Anthony Mushrow2-Oct-08 11:30
professionalAnthony Mushrow2-Oct-08 11:30 
GeneralRe: User Control Tutorial Pin
nelsonpaixao2-Oct-08 13:51
nelsonpaixao2-Oct-08 13:51 
GeneralRe: User Control Tutorial Pin
baranils2-Oct-08 20:04
baranils2-Oct-08 20:04 
GeneralRe: User Control Tutorial Pin
DaveyM692-Oct-08 23:39
professionalDaveyM692-Oct-08 23:39 
Questionclose one form and start another Pin
TerRO_GirL2-Oct-08 7:37
TerRO_GirL2-Oct-08 7:37 
AnswerRe: close one form and start another Pin
Thomas Stockwell2-Oct-08 7:42
professionalThomas Stockwell2-Oct-08 7:42 
AnswerRe: close one form and start another Pin
Dan Neely2-Oct-08 7:43
Dan Neely2-Oct-08 7:43 
You need to put your main() method and overall control logic in a separate controller class. Then ControllerClass creates a MenuForm. When the user clicks the Form1 Button on MenuForm, instead of opening Form1 directly, it notifies ControllerClass. ControllerClass then closes MenuForm and Creates Form1. Likewise, the OnClosing event for Form1 signals the fact to ControllerClass which then either opens a new MenuForm or terminates the application.

Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall

GeneralRe: close one form and start another Pin
TerRO_GirL2-Oct-08 9:31
TerRO_GirL2-Oct-08 9:31 
AnswerRe: close one form and start another Pin
nelsonpaixao2-Oct-08 14:04
nelsonpaixao2-Oct-08 14:04 
GeneralRe: close one form and start another Pin
TerRO_GirL2-Oct-08 23:18
TerRO_GirL2-Oct-08 23:18 
GeneralRe: close one form and start another [modified] Pin
nelsonpaixao3-Oct-08 5:35
nelsonpaixao3-Oct-08 5:35 
Questionloading webbrowser control Pin
netJP12L2-Oct-08 5:40
netJP12L2-Oct-08 5:40 
QuestionDetecting Power Button pressed Pin
pbeeby2-Oct-08 3:40
pbeeby2-Oct-08 3:40 
AnswerRe: Detecting Power Button pressed Pin
#realJSOP2-Oct-08 4:34
professional#realJSOP2-Oct-08 4:34 
GeneralRe: Detecting Power Button pressed Pin
pbeeby2-Oct-08 4:43
pbeeby2-Oct-08 4:43 
GeneralRe: Detecting Power Button pressed Pin
Giorgi Dalakishvili2-Oct-08 5:01
mentorGiorgi Dalakishvili2-Oct-08 5:01 
GeneralRe: Detecting Power Button pressed Pin
Dan Neely2-Oct-08 5:10
Dan Neely2-Oct-08 5:10 
GeneralRe: Detecting Power Button pressed Pin
#realJSOP2-Oct-08 6:36
professional#realJSOP2-Oct-08 6:36 
AnswerRe: Detecting Power Button pressed Pin
Vasudevan Deepak Kumar2-Oct-08 8:02
Vasudevan Deepak Kumar2-Oct-08 8:02 
JokeRe: Detecting Power Button pressed Pin
nelsonpaixao2-Oct-08 14:08
nelsonpaixao2-Oct-08 14:08 
AnswerRe: Detecting Power Button pressed Pin
pbeeby3-Oct-08 0:56
pbeeby3-Oct-08 0:56 
QuestionInterfacing with hardware through RS232 Pin
Sandeep Ambade2-Oct-08 3:19
Sandeep Ambade2-Oct-08 3:19 
AnswerRe: Interfacing with hardware through RS232 Pin
Giorgi Dalakishvili2-Oct-08 3:42
mentorGiorgi Dalakishvili2-Oct-08 3:42 
GeneralRe: Interfacing with hardware through RS232 Pin
Sandeep Ambade2-Oct-08 22:15
Sandeep Ambade2-Oct-08 22:15 

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.