PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Only One Window per event
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Only One Window per event
![]() |
Only One Window per event |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hello,
I have a form which opens a window when I click a button on it. However, this window will open as many times as I click the button. How can I prevent this user-controllable memory excess- usage danger? Thanks, Manuel |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Hello,
"Manuel" <mnel@mail.com> schrieb: > I have a form which opens a window when I click a button > on it. > > However, this window will open as many times as I click > the button. > > How can I prevent this user-controllable memory excess- > usage danger? \\\ Dim f As New FormX() f.ShowDialog(Me) /// Regards, Herfried K. Wagner -- MVP · VB Classic, VB .NET http://www.mvps.org/dotnet |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

