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

C#

 
AnswerRe: Finding functions with no reference Pin
Christian Graus30-Sep-07 19:29
protectorChristian Graus30-Sep-07 19:29 
GeneralRe: Finding functions with no reference Pin
N a v a n e e t h30-Sep-07 19:44
N a v a n e e t h30-Sep-07 19:44 
QuestionExit application Pin
sonigirish30-Sep-07 19:07
sonigirish30-Sep-07 19:07 
AnswerRe: Exit application Pin
N a v a n e e t h30-Sep-07 19:21
N a v a n e e t h30-Sep-07 19:21 
GeneralRe: Exit application Pin
sonigirish30-Sep-07 20:00
sonigirish30-Sep-07 20:00 
GeneralRe: Exit application Pin
N a v a n e e t h30-Sep-07 20:08
N a v a n e e t h30-Sep-07 20:08 
GeneralRe: Exit application Pin
sonigirish30-Sep-07 20:18
sonigirish30-Sep-07 20:18 
GeneralRe: Exit application Pin
N a v a n e e t h30-Sep-07 20:32
N a v a n e e t h30-Sep-07 20:32 
sonigirish wrote:
I want to close application on form2' button click ie button2-Click event


Write a method in your first form which closes that form. Using delegates, call this method when form2 is closed. This will close your entire APP.

Alternatively, you can pass form1 object to form2 constructor, and dispose this object when form2 closed.


GeneralRe: Exit application Pin
I.explore.code30-Sep-07 20:43
I.explore.code30-Sep-07 20:43 
AnswerRe: Exit application Pin
Christian Graus30-Sep-07 19:27
protectorChristian Graus30-Sep-07 19:27 
AnswerRe: Exit application Pin
yogesh_kumar_agarwal30-Sep-07 20:27
yogesh_kumar_agarwal30-Sep-07 20:27 
GeneralRe: Exit application Pin
blackjack215030-Sep-07 21:49
blackjack215030-Sep-07 21:49 
QuestionOnline User List? Pin
udikantz30-Sep-07 18:52
udikantz30-Sep-07 18:52 
AnswerRe: Online User List? Pin
Parwej Ahamad30-Sep-07 19:25
professionalParwej Ahamad30-Sep-07 19:25 
GeneralRe: Online User List? [modified] Pin
udikantz30-Sep-07 19:44
udikantz30-Sep-07 19:44 
GeneralRe: Online User List? Pin
Parwej Ahamad30-Sep-07 20:10
professionalParwej Ahamad30-Sep-07 20:10 
GeneralRe: Online User List? Pin
N a v a n e e t h30-Sep-07 20:37
N a v a n e e t h30-Sep-07 20:37 
AnswerRe: Online User List? Pin
N a v a n e e t h30-Sep-07 19:28
N a v a n e e t h30-Sep-07 19:28 
GeneralRe: Online User List? Pin
udikantz30-Sep-07 19:50
udikantz30-Sep-07 19:50 
GeneralRe: Online User List? Pin
N a v a n e e t h30-Sep-07 19:56
N a v a n e e t h30-Sep-07 19:56 
GeneralRe: Online User List? Pin
Andrei Ungureanu30-Sep-07 21:12
Andrei Ungureanu30-Sep-07 21:12 
GeneralRe: Online User List? Pin
udikantz30-Sep-07 21:34
udikantz30-Sep-07 21:34 
GeneralRe: Online User List? Pin
Andrei Ungureanu30-Sep-07 22:13
Andrei Ungureanu30-Sep-07 22:13 
QuestionUSB Device with C# Pin
bodikon30-Sep-07 18:49
bodikon30-Sep-07 18:49 
AnswerRe: USB Device with C# Pin
I.explore.code30-Sep-07 20:50
I.explore.code30-Sep-07 20:50 

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.