Hack Forums
[C] Make one window appear after clicking the button - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C] Make one window appear after clicking the button (/showthread.php?tid=2018151)



Make one window appear after clicking the button - BlueHatx - Dec 16, 2011

Hello folks.

Is it possible to stop windows from appearing after you've clicked the button once.

Like I click my button and Forms keep appearing.

Thanks 😉


* - TheRevolutionist - May 5, 2013

is this vb? paste your code and ill fix it?


* - Terry A. Davis - May 5, 2013

Yes you don't put a loop saying open form you make a bool saying if the button clicked = true open form end. not button clicked = true loop open form end loop.;

Is that what you want?


* - Uncensored - May 5, 2013

Code
Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    __putactionshere__
End Sub