One moer stupid question

    Date: 03/02/06 (C Sharp)    Keywords: no keywords

    Just one more stupid question and I'll try to leave you guys alone.

    I have the first screen that is loaded when the exe is run. It's the log in screen. Now I understand that if I close this form it'll unload the application, no matter what else is going on. So I've decided that after all of the user's information is verified, it'll hide the login screen and bring up the main window. Here's where the problem is. After the user is done with what he/she needs to do, there's a "log out" command. When that is clicked, it closes the main window and then we're stuck with an invisible form that I can't figure out how to bring back using the .Show() method.

    I've tried trying to unhide it from the main window (frmLoginForm.Show();) but that always gives me an error (as if it doesn't exist). I've also tried to create a function that would handle all of that for me, and calling it from the main window as it's closing.. again, it says it doesn't exist.

    So what am I missing? There must be a way to unhide it after the main window is done..

    Thanks, again, for putting up with the stupid questions I have.

    Source: http://community.livejournal.com/csharp/50959.html

« INI file questions || datagridviewcomboboxcolumn... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home