G
Guest
Hi all,
How to close(unload) a Windows form on load event and not let to be
displayed when a criteria is met?
Form 1 calls form2 as frmForm2.Show
and in Form2_Load event I'm chekcing for a criteria and if it's true close
form2 and returns to form1.
Me.Close is not working here.
Thanks in advance,
Roy
How to close(unload) a Windows form on load event and not let to be
displayed when a criteria is met?
Form 1 calls form2 as frmForm2.Show
and in Form2_Load event I'm chekcing for a criteria and if it's true close
form2 and returns to form1.
Me.Close is not working here.
Thanks in advance,
Roy