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

C#

 
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 
Thanks Very Mush I try this and than i will tell you this code works or not. But I have a one more issue:

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


Muhammad Waqas Butt
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 
GeneralListening windows messages Pin
sbozcan23-Dec-04 21:12
sbozcan23-Dec-04 21:12 
GeneralRe: Listening windows messages Pin
Heath Stewart23-Dec-04 21:19
protectorHeath Stewart23-Dec-04 21:19 
QuestionASP.NET c# webservice - Singleton COM instance? Pin
gmcm23-Dec-04 20:46
gmcm23-Dec-04 20:46 
AnswerRe: ASP.NET c# webservice - Singleton COM instance? Pin
Heath Stewart23-Dec-04 21:13
protectorHeath Stewart23-Dec-04 21:13 
QuestionLocal IP number? Pin
danneau23-Dec-04 19:06
danneau23-Dec-04 19:06 
AnswerRe: Local IP number? Pin
Jay Shankar23-Dec-04 19:55
Jay Shankar23-Dec-04 19:55 
GeneralRe: Local IP number? Thanks! Pin
danneau23-Dec-04 20:43
danneau23-Dec-04 20:43 
GeneralRe: Local IP number? Thanks! Pin
Jay Shankar23-Dec-04 21:03
Jay Shankar23-Dec-04 21:03 
AnswerRe: Local IP number? Pin
leppie23-Dec-04 20:33
leppie23-Dec-04 20:33 
Generalsingleton Pin
lcarriere23-Dec-04 18:14
lcarriere23-Dec-04 18:14 

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.