Click here to Skip to main content
15,894,017 members
Home / Discussions / C#
   

C#

 
GeneralRe: running g++ using process.start Pin
Matt Gerrans29-Jun-05 14:42
Matt Gerrans29-Jun-05 14:42 
GeneralRe: context menu does not pop up Pin
Judah Gabriel Himango29-Jun-05 8:45
sponsorJudah Gabriel Himango29-Jun-05 8:45 
Generaluser control Collection Editor with Control on Form Pin
CiNN29-Jun-05 7:58
CiNN29-Jun-05 7:58 
GeneralInternet Explorer-style Menu Bar in C# Pin
tekun29-Jun-05 7:17
tekun29-Jun-05 7:17 
GeneralListview scroll visible event Pin
machocr29-Jun-05 6:44
machocr29-Jun-05 6:44 
GeneralCrystal report Pin
ShahYatin29-Jun-05 6:31
ShahYatin29-Jun-05 6:31 
GeneralPocket PC 'Ok' button Pin
george ivanov29-Jun-05 4:01
george ivanov29-Jun-05 4:01 
Generalhelp me to display a form Pin
os58629-Jun-05 3:55
os58629-Jun-05 3:55 
i am make a login form,include both textbox and one button,one is username,other is password,if you input your correct username and password and click the button,you must close this form,and go into other form(this form is main form)

but i meet a troblue:

the button's click event:



NainForm mainForm = new MainForm();<br />
mainForm.Show();<br />
this.Close();


but the mainForm doesn't display,if replace the "mainForm.Show()" to "mainForm.ShowDialog()",the mainForm display,but the login form still display.

Can you help me?
GeneralRe: help me to display a form Pin
Not Active29-Jun-05 4:18
mentorNot Active29-Jun-05 4:18 
GeneralRe: help me to display a form Pin
Piovra_29-Jun-05 4:39
Piovra_29-Jun-05 4:39 
Generaldefault parameters Pin
V.29-Jun-05 3:41
professionalV.29-Jun-05 3:41 
GeneralRe: default parameters Pin
Michael P Butler29-Jun-05 3:45
Michael P Butler29-Jun-05 3:45 
GeneralRe: default parameters Pin
V.29-Jun-05 4:33
professionalV.29-Jun-05 4:33 
GeneralRe: default parameters Pin
Matt Gerrans29-Jun-05 6:14
Matt Gerrans29-Jun-05 6:14 
Generalhelp me with word automation Pin
priyag29-Jun-05 3:30
priyag29-Jun-05 3:30 
Generalhelp me to get the RGB from panel Pin
romantic boy29-Jun-05 2:23
romantic boy29-Jun-05 2:23 
GeneralRe: help me to get the RGB from panel Pin
romantic boy29-Jun-05 4:22
romantic boy29-Jun-05 4:22 
GeneralRe: help me to get the RGB from panel Pin
Judah Gabriel Himango29-Jun-05 8:48
sponsorJudah Gabriel Himango29-Jun-05 8:48 
GeneralRe: help me to get the RGB from panel Pin
romantic boy29-Jun-05 11:12
romantic boy29-Jun-05 11:12 
GeneralRe: help me to get the RGB from panel Pin
Judah Gabriel Himango29-Jun-05 12:09
sponsorJudah Gabriel Himango29-Jun-05 12:09 
GeneralRe: help me to get the RGB from panel Pin
Dave Kreskowiak29-Jun-05 12:10
mveDave Kreskowiak29-Jun-05 12:10 
GeneralProblem with Selected Index in list box Changing when Updating a record Pin
trent2229-Jun-05 2:19
trent2229-Jun-05 2:19 
Generaladd reference to VS6 dll in c# application Pin
johniboy29-Jun-05 2:10
sussjohniboy29-Jun-05 2:10 
GeneralRe: add reference to VS6 dll in c# application Pin
Michael P Butler29-Jun-05 3:51
Michael P Butler29-Jun-05 3:51 
GeneralRe: add reference to VS6 dll in c# application Pin
mav.northwind29-Jun-05 3:54
mav.northwind29-Jun-05 3:54 

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.