Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Method's question...
ablivian
Apr 11 2006 7:04 PM
2k
Reply
I'm trying to create a simple application that requires the user to enter their username and password before the application will execute.
The password front end words great, but when I run the program it runs both the password method and the application method at the same time.
Is there anyway of stopping the application from executing before the previous method has run?
The following code is what I am using:
public
static
void
Main()
{
//Request name and password from user
PasswordDialog objCallMethod =
new
PasswordDialog();
objCallMethod.Show();
//If Username and password are confirmed run the application
Application.Run(
new
fclsMain());
}
I've probably got it all completely wrong but then I'm completely new to this....
Any ideas would be a help!
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Dynamic SQL query
Regarding C#