so I have this program, and I want to prevent it from opening multiple times but can seem to get the hang of it =/
private void button1_Click(object sender, EventArgs e)
{
if (forge.Checked)
{
successfully_injected openForm = new successfully_injected();
openForm.Show();
this.Close();
}
else if (!forge.Checked)
{
select_option openForm = new select_option();
openForm.Show();
}
}
I only want to be able to click the button once and then it stops showing more windows, but the result I get right now is that I can click it and it will just keep opening windows every time I click so yeh =/