![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Expert Programmer
|
It doesn't really matter which way it gets done, but as I've said it was only efficiency I was wondering about now. What I have right now, is if there is a password, the frmpassword is the form to run. If not, then the frmMain runs. It works, only problem is that if there is a password, frmPassword stays open the whole time the program is running (its just hidden). For this program, its small so it doesn't make a huge difference, but if this were bigger, I might have some issues.
|
|
|
|
|
|
#12 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Jason, I forgot to add Application.Run(); at the end - sorry. Booooze seems to have figured that out though.
I say Microsoft recommends the approach I use because the idea came from Visual Studio 2005 - create a new project with a form in Visual C# 2005, and it'll make two classes: Form1 and Program, which contains the Main function. |
|
|
|
|
|
#13 | |
|
Expert Programmer
|
Quote:
Sometimes ya just need another way to look at it. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|