I have this code on form1
TimerMode f2 = new TimerMode();
f2.show();
Now I'm trying to use this code at some point in time, but nothing happens? Cmd = Close
public void DoActions(string Cmd)
{
switch(Cmd){
case"Open":
TimerMode f2 = new TimerMode();
f2.show()
break;
case"Closing":
f2.Close();
break;
}
}
Do you have an idea why it is not closed ?.
that I really want him to close it.
in vb6 I use this
unload form2
source
share