Click here to Skip to main content
15,916,949 members
Home / Discussions / C#
   

C#

 
Questionis there an event?? Pin
tom_dx29-Nov-04 12:55
tom_dx29-Nov-04 12:55 
GeneralVB Client hosting a Windows Forms control Pin
snene29-Nov-04 12:53
snene29-Nov-04 12:53 
GeneralFileSystemWatcher process name Pin
DotNetDude29-Nov-04 10:36
DotNetDude29-Nov-04 10:36 
GeneralRe: FileSystemWatcher process name Pin
Dave Kreskowiak30-Nov-04 3:43
mveDave Kreskowiak30-Nov-04 3:43 
GeneralXML Deserialization from a Stream Pin
tkmcclean29-Nov-04 9:45
susstkmcclean29-Nov-04 9:45 
Generalreg value retrieval Pin
Pyro Joe29-Nov-04 9:25
Pyro Joe29-Nov-04 9:25 
GeneralDisplaying an Array in a Property Grid Pin
JaydeepM29-Nov-04 8:09
JaydeepM29-Nov-04 8:09 
GeneralRe: Displaying an Array in a Property Grid Pin
Nick Parker29-Nov-04 10:01
protectorNick Parker29-Nov-04 10:01 
Generalreading from file Pin
eemo_mb29-Nov-04 8:04
eemo_mb29-Nov-04 8:04 
Generalwebservice file transfer Pin
fmarcos29-Nov-04 7:50
fmarcos29-Nov-04 7:50 
GeneralBinding 2 EXE into my aplication Pin
Ngh5529-Nov-04 6:44
Ngh5529-Nov-04 6:44 
GeneralRe: Binding 2 EXE into my aplication Pin
tom_dx29-Nov-04 12:57
tom_dx29-Nov-04 12:57 
GeneralRe: Binding 2 EXE into my aplication Pin
Dave Kreskowiak30-Nov-04 3:29
mveDave Kreskowiak30-Nov-04 3:29 
Generalfinding the contents of a cell in a datagrid Pin
steve_rm29-Nov-04 4:48
steve_rm29-Nov-04 4:48 
GeneralRe: finding the contents of a cell in a datagrid Pin
Colin Mc29-Nov-04 5:34
Colin Mc29-Nov-04 5:34 
GeneralRe: finding the contents of a cell in a datagrid Pin
DougW4829-Nov-04 13:27
DougW4829-Nov-04 13:27 
GeneralWeb Service Responce size Pin
Colin Mc29-Nov-04 4:30
Colin Mc29-Nov-04 4:30 
GeneralUsing different ActiveX control versions Pin
mav.northwind29-Nov-04 4:12
mav.northwind29-Nov-04 4:12 
GeneralDllImport, EntryPoint Problem Pin
Gywox29-Nov-04 3:55
Gywox29-Nov-04 3:55 
GeneralRe: DllImport, EntryPoint Problem Pin
Nick Parker29-Nov-04 6:15
protectorNick Parker29-Nov-04 6:15 
GeneralClose problem Pin
ee9903529-Nov-04 3:50
ee9903529-Nov-04 3:50 
GeneralRe: Close problem Pin
Stefan Troschuetz29-Nov-04 4:20
Stefan Troschuetz29-Nov-04 4:20 
GeneralRe: Close problem Pin
Pyro Joe29-Nov-04 10:00
Pyro Joe29-Nov-04 10:00 
GeneralRe: Close problem Pin
Pyro Joe29-Nov-04 10:01
Pyro Joe29-Nov-04 10:01 
GeneralRe: Close problem Pin
Pyro Joe29-Nov-04 10:01
Pyro Joe29-Nov-04 10:01 
oh, I had that problem. all you do is this.

in the properties panel, go to events.
then next to the "closed" event, in the space next to it,
double-click the space. this will allow you to change events that occur when the form closes.
type this:
Application.Exit();

normally, when you just click the "X" button, it simply closes the form, but when you type "ApplicationExit();", it ensures that all forms are closed and the process is ended.

let me know if it worked or not

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.