all groups > dotnet windows forms designtime > march 2005 >
You're in the

dotnet windows forms designtime

group:

closing and opening window forms



closing and opening window forms Sarah Karim via .NET 247
3/18/2005 10:57:26 PM
dotnet windows forms designtime: I am making a multi windows-form application where the parent=
form is the login form=2EI want every current form to close when I=
go on to the next form and not hide it or let it remain=
there=2Ebut when I close the parent form the entire application=
closes=2Eis there a way to do what I want to do? Thank you
--------------------------------
From: Sarah Karim

-----------------------
Posted by a user from =2ENET 247 (http://www=2Edotnet247=2Ecom/)

Re: closing and opening window forms gyurisc
3/20/2005 5:23:05 AM
The only way I can think of is to hide the parent form instead of closing
it. You can close the other forms but not the main form.

Cris

[quoted text, click to view]
I am making a multi windows-form application where the parent form is the
login form.I want every current form to close when I go on to the next form
and not hide it or let it remain there.but when I close the parent form the
entire application closes.is there a way to do what I want to do? Thank you
--------------------------------
From: Sarah Karim

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>2luZD9hIp0G5ovQhZAHBtA==</Id>

AddThis Social Bookmark Button