Exemplo n.º 1
0
 private void cadastroUsuarioBtn1_Click(object sender, EventArgs e)
 {
     if (telaUsuario == null)
     {
         telaUsuario           = new TelaUsuario();
         telaUsuario.Disposed += new EventHandler(telaUsuario_Disposed);
         telaUsuario.Show();
     }
 }
Exemplo n.º 2
0
 void telaUsuario_Disposed(object sender, EventArgs e)
 {
     telaUsuario = null;
 }