Example #1
0
 private void clienteToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.MdiChildren.Length > 0)
     {
         this.ActiveMdiChild.Close();
     }
     TelaCliente telaCliente = new  TelaCliente();
     telaCliente.MdiParent = this;
     telaCliente.Show();
 }
Example #2
0
 private void CadastraCliente()
 {
     TelaCliente tcliente = new TelaCliente();
     tcliente.ShowDialog();
 }