closing application

  • Thread starter Thread starter ramonours
  • Start date Start date
R

ramonours

Hello, I have a .netcf program using vb.net and I have a multiple form
application.
When I attempt to close the application using the 'ok' button on the main
form, it leaves the other forms there and will not close the application.
Is there a better way to do this?
Or is there a way to know when the user has tapped the 'ok' button on top of
my main form so that I can close each open form manually??

Any Ideas will be of great help (I'm new to .netcf development)

Thanks in advance,
BB.
 
ramonours said:
Hello, I have a .netcf program using vb.net and I have a multiple form
application.
When I attempt to close the application using the 'ok' button on the main
form, it leaves the other forms there and will not close the application.
Is there a better way to do this?
Or is there a way to know when the user has tapped the 'ok' button on top of
my main form so that I can close each open form manually??

Any Ideas will be of great help (I'm new to .netcf development)

Thanks in advance,
BB.

in the other forms you could put in the form closing event, me.close.
this might work.
 
Back
Top