Only One Window per event

M

Manuel

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
 
H

Herfried K. Wagner

Hello,

Manuel said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top