Click here to Skip to main content
15,906,097 members
Home / Discussions / C#
   

C#

 
GeneralRe: StackOverflow - C# Windows application Pin
Anonymous24-Dec-04 23:26
Anonymous24-Dec-04 23:26 
GeneralDateTime conversion Pin
fredza24-Dec-04 4:49
fredza24-Dec-04 4:49 
GeneralRe: DateTime conversion Pin
Michael Flanakin24-Dec-04 11:25
Michael Flanakin24-Dec-04 11:25 
GeneralTimeout for Asynchronous calls Pin
Kausthubh Rajendran24-Dec-04 2:42
Kausthubh Rajendran24-Dec-04 2:42 
GeneralFTP And SQL Help Pin
| Muhammad Waqas Butt |24-Dec-04 0:59
professional| Muhammad Waqas Butt |24-Dec-04 0:59 
GeneralRe: FTP And SQL Help Pin
Colin Angus Mackay24-Dec-04 13:18
Colin Angus Mackay24-Dec-04 13:18 
GeneralSelecting String Portion Pin
sreejith ss nair24-Dec-04 0:15
sreejith ss nair24-Dec-04 0:15 
GeneralWinform Close Problem Pin
| Muhammad Waqas Butt |24-Dec-04 0:00
professional| Muhammad Waqas Butt |24-Dec-04 0:00 
Probelm....

Main Application Form Code (mainfm)
-------------------------
static void Main()
{
Application.EnableVisualStyles();
Application.DoEvents();
Application.Run(new fmapppas());
}

----------------------
Password Verify Form (fmapppas)
==================
if(User not found)
{
Messagebox.Show("Waqas");
}
else
{
mainfm.show();
this.close();

}

1: Now the problem is when user verif than first main form show but
than both forms close means application close.


2: If i write Hide() on the place of Close() in password form then if still running in processes. and when i close main form with application.Exit(); this form close but application still running in prcoessess.


Please help Me..

Muhammad Waqas Butt
waqasb4all@yahoo.com

Muhammad Waqas Butt
waqasb4all@yahoo.com
GeneralRe: Winform Close Problem Pin
sreejith ss nair24-Dec-04 0:37
sreejith ss nair24-Dec-04 0:37 
GeneralRe: Winform Close Problem Pin
| Muhammad Waqas Butt |24-Dec-04 0:47
professional| Muhammad Waqas Butt |24-Dec-04 0:47 
GeneralRe: Winform Close Problem Pin
sreejith ss nair24-Dec-04 1:14
sreejith ss nair24-Dec-04 1:14 
GeneralRe: Winform Close Problem Pin
| Muhammad Waqas Butt |24-Dec-04 10:03
professional| Muhammad Waqas Butt |24-Dec-04 10:03 
GeneralRe: Winform Close Problem Pin
Skynyrd24-Dec-04 12:06
Skynyrd24-Dec-04 12:06 
GeneralRe: Winform Close Problem Pin
24-Dec-04 12:33
suss24-Dec-04 12:33 
GeneralRe: Winform Close Problem Pin
Member 158368224-Dec-04 21:14
Member 158368224-Dec-04 21:14 
QuestionDB Connection Problem? Pin
| Muhammad Waqas Butt |23-Dec-04 23:39
professional| Muhammad Waqas Butt |23-Dec-04 23:39 
AnswerRe: DB Connection Problem? Pin
sreejith ss nair24-Dec-04 0:25
sreejith ss nair24-Dec-04 0:25 
GeneralRe: DB Connection Problem? Pin
| Muhammad Waqas Butt |24-Dec-04 0:37
professional| Muhammad Waqas Butt |24-Dec-04 0:37 
GeneralRe: DB Connection Problem? Pin
| Muhammad Waqas Butt |24-Dec-04 10:46
professional| Muhammad Waqas Butt |24-Dec-04 10:46 
QuestionHow to clear history of Web Browser control? Pin
ShajeeDotNet23-Dec-04 22:20
ShajeeDotNet23-Dec-04 22:20 
QuestionSqlConnection string? Pin
murali_utr23-Dec-04 21:39
murali_utr23-Dec-04 21:39 
AnswerRe: SqlConnection string? Pin
J4amieC23-Dec-04 21:57
J4amieC23-Dec-04 21:57 
GeneralRe: SqlConnection string? Pin
murali_utr24-Dec-04 2:07
murali_utr24-Dec-04 2:07 
GeneralRe: SqlConnection string? Pin
Rob Graham24-Dec-04 5:48
Rob Graham24-Dec-04 5:48 
Generalobject and layers design question Pin
ppp00123-Dec-04 21:29
ppp00123-Dec-04 21:29 

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.