예제 #1
0
 private void cadastrarUsuárioToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (telaCadastrarUsuario == null)
     {
         telaCadastrarUsuario = new Cadastrar_Usuario();
         telaCadastrarUsuario.Show();
         telaCadastrarUsuario.MdiParent = this;
         telaCadastrarUsuario.Disposed += new EventHandler(telaCadastrarUsuario_Disposed);
     }
 }
예제 #2
0
 private void button8_Click(object sender, EventArgs e)
 {
     tela_cadastro_user = new Cadastrar_Usuario();
     tela_cadastro_user.Show();
 }
예제 #3
0
 void telaCadastrarUsuario_Disposed(object sender, EventArgs e)
 {
     telaCadastrarUsuario = null;
 }