TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ablivian
NA
4
0
Method's question...
Apr 11 2006 7:04 PM
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!
Reply
Answers (
2
)
Dynamic SQL query
Regarding C#