Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
AnswerRe: System.Windows.Form equivalent of PeekMessage() Pin
joe carbone5-Jan-06 23:47
joe carbone5-Jan-06 23:47 
GeneralRe: System.Windows.Form equivalent of PeekMessage() Pin
Ravi Bhavnani6-Jan-06 1:36
professionalRavi Bhavnani6-Jan-06 1:36 
QuestionFile Operations Pin
dvsr5-Jan-06 12:07
dvsr5-Jan-06 12:07 
AnswerRe: File Operations Pin
mav.northwind5-Jan-06 12:26
mav.northwind5-Jan-06 12:26 
Questionnewbee ques Pin
Manu_815-Jan-06 9:30
Manu_815-Jan-06 9:30 
AnswerRe: newbee ques Pin
Christian Graus5-Jan-06 10:26
protectorChristian Graus5-Jan-06 10:26 
AnswerRe: newbee ques Pin
Le centriste5-Jan-06 10:34
Le centriste5-Jan-06 10:34 
GeneralRe: newbee ques Pin
Manu_815-Jan-06 10:43
Manu_815-Jan-06 10:43 
Here is what I do...
I have a main form called HomeForm. Another form called EnggHome has the exit button.
I call the EnggHome form HomeForm as
<br />
//in Home form<br />
private void button3_Click(object sender, System.EventArgs e)<br />
		{<br />
			<br />
			EnggHome enggH = new EnggHome();<br />
			enggH.Show();				<br />
			this.Visible = false;				<br />
			<br />
		}


In exit button code (in EnggHome)
<br />
private void button3_Click(object sender, System.EventArgs e)<br />
		{	<br />
			<br />
			this.Dispose(true);<br />
			this.Close();<br />
<br />
			HomeForm Hom = new HomeForm();<br />
			Hom.Dispose(); 	<br />
		Hom.Close();<br />
			<br />
		}



In debug mode too, if I close the app using exit button, the debugger does'nt stops unless I stop it..
What am I missing???
AnswerRe: newbee ques Pin
Le centriste5-Jan-06 10:54
Le centriste5-Jan-06 10:54 
GeneralRe: newbee ques Pin
Manu_815-Jan-06 11:18
Manu_815-Jan-06 11:18 
GeneralRe: newbee ques Pin
Le centriste5-Jan-06 11:26
Le centriste5-Jan-06 11:26 
GeneralRe: newbee ques Pin
Christian Graus5-Jan-06 12:00
protectorChristian Graus5-Jan-06 12:00 
GeneralOne more remark Pin
Le centriste5-Jan-06 10:59
Le centriste5-Jan-06 10:59 
GeneralRe: One more remark Pin
Manu_815-Jan-06 11:25
Manu_815-Jan-06 11:25 
AnswerRe: One more remark Pin
Le centriste5-Jan-06 11:27
Le centriste5-Jan-06 11:27 
QuestionRSA P/Q parameters help Pin
FotisSs5-Jan-06 9:10
FotisSs5-Jan-06 9:10 
QuestionBorder-Right to a asp:datagrid item by a CssClass Pin
thomasa5-Jan-06 9:10
thomasa5-Jan-06 9:10 
GeneralRe: Border-Right to a asp:datagrid item by a CssClass Pin
Guffa5-Jan-06 10:33
Guffa5-Jan-06 10:33 
GeneralRe: Border-Right to a asp:datagrid item by a CssClass Pin
thomasa5-Jan-06 21:41
thomasa5-Jan-06 21:41 
Questioncookies httpwebrequest Pin
TAREQ F ABUZUHRI5-Jan-06 8:45
TAREQ F ABUZUHRI5-Jan-06 8:45 
QuestionTheme selection for Windows Form Pin
VPMahank5-Jan-06 8:30
VPMahank5-Jan-06 8:30 
QuestionImageList.ImageSize supports only 255x255 pixel images. Pin
Alomgir Miah5-Jan-06 8:22
Alomgir Miah5-Jan-06 8:22 
QuestionC# DirectX 9 DSP Reference Pin
mark buckley5-Jan-06 7:56
mark buckley5-Jan-06 7:56 
AnswerRe: C# DirectX 9 DSP Reference Pin
Christian Graus5-Jan-06 10:28
protectorChristian Graus5-Jan-06 10:28 
GeneralRe: C# DirectX 9 DSP Reference Pin
User 66585-Jan-06 10:44
User 66585-Jan-06 10:44 

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.