Click here to Skip to main content
15,910,009 members
Home / Discussions / C#
   

C#

 
QuestionProblem in closing the login window Pin
I.explore.code1-Jul-07 23:15
I.explore.code1-Jul-07 23:15 
hi, I have a login window that opens up before any other window of the application. the problem is that I m not able to close the login window upon authentication and then load the parent window of the system.

I use the following code to hide the login window:

this.FindForm().Visible=false;

but hiding the window is a very bad approach as though the form is not visible but it still is consuming memory.

the following code to close the window closes all the windows of the application, including the MDI parent form

this.FindForm().Close();

Please help
AnswerRe: Problem in closing the login window Pin
logicaldna1-Jul-07 23:41
logicaldna1-Jul-07 23:41 
AnswerRe: Problem in closing the login window Pin
Martin#1-Jul-07 23:44
Martin#1-Jul-07 23:44 
AnswerRe: Problem in closing the login window Pin
Navneet Hegde2-Jul-07 1:56
Navneet Hegde2-Jul-07 1:56 
QuestionHow to augment space between the TreeNodes? Pin
jason_mf1-Jul-07 23:14
jason_mf1-Jul-07 23:14 
QuestionMembership API Pin
sangramkp1-Jul-07 22:32
sangramkp1-Jul-07 22:32 
AnswerRe: Membership API Pin
Luc Pattyn1-Jul-07 23:39
sitebuilderLuc Pattyn1-Jul-07 23:39 
AnswerRe: Membership API Pin
Pete O'Hanlon2-Jul-07 4:10
mvePete O'Hanlon2-Jul-07 4:10 
QuestionDock bounds Pin
Stevo Z1-Jul-07 22:09
Stevo Z1-Jul-07 22:09 
QuestionUncloseable window Pin
ruanr1-Jul-07 22:09
ruanr1-Jul-07 22:09 
AnswerRe: Uncloseable window Pin
Stevo Z1-Jul-07 22:12
Stevo Z1-Jul-07 22:12 
GeneralRe: Uncloseable window Pin
ruanr1-Jul-07 22:14
ruanr1-Jul-07 22:14 
AnswerRe: Uncloseable window Pin
Rahul.RK1-Jul-07 22:20
Rahul.RK1-Jul-07 22:20 
GeneralRe: Uncloseable window Pin
ruanr1-Jul-07 22:36
ruanr1-Jul-07 22:36 
AnswerRe: Uncloseable window Pin
Luc Pattyn1-Jul-07 23:56
sitebuilderLuc Pattyn1-Jul-07 23:56 
GeneralRe: Uncloseable window Pin
Vasudevan Deepak Kumar2-Jul-07 1:44
Vasudevan Deepak Kumar2-Jul-07 1:44 
GeneralRe: Uncloseable window Pin
Dan Neely2-Jul-07 2:01
Dan Neely2-Jul-07 2:01 
QuestionWebService Query Pin
Iftekhar Naim1-Jul-07 21:43
Iftekhar Naim1-Jul-07 21:43 
AnswerRe: WebService Query Pin
nitikin2-Jul-07 0:22
nitikin2-Jul-07 0:22 
QuestionNameValueCollection.GetValues(string Key) Pin
SakthiSurya1-Jul-07 21:18
SakthiSurya1-Jul-07 21:18 
Questiondesign time element support [modified] Pin
Matglas1-Jul-07 20:52
Matglas1-Jul-07 20:52 
QuestionDataGridView:Retrieve the first column of the selected row Pin
Waskira1-Jul-07 20:46
Waskira1-Jul-07 20:46 
AnswerRe: DataGridView:Retrieve the first column of the selected row Pin
sidbaruah1-Jul-07 21:26
sidbaruah1-Jul-07 21:26 
GeneralRe: DataGridView:Retrieve the first column of the selected row Pin
Waskira1-Jul-07 22:02
Waskira1-Jul-07 22:02 
GeneralRe: DataGridView:Retrieve the first column of the selected row [modified] Pin
Waskira1-Jul-07 22:48
Waskira1-Jul-07 22:48 

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.