示例#1
0
        private void clientesToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FrmClientes clientes = FrmClientes.getInstance();

            clientes.MdiParent = this;
            clientes.Show();
        }
 public static FrmClientes getInstance()
 {
     if (instance == null)
     {
         instance = new FrmClientes();
     }
     return instance;
 }
示例#3
0
 public static FrmClientes getInstance()
 {
     if (instance == null)
     {
         instance = new FrmClientes();
     }
     return(instance);
 }
 private void FrmClientes_FormClosed(object sender, FormClosedEventArgs e)
 {
     instance = null;
 }
示例#5
0
 private void FrmClientes_FormClosed(object sender, FormClosedEventArgs e)
 {
     instance = null;
 }