Example #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;
 }
Example #3
0
 public static FrmClientes getInstance()
 {
     if (instance == null)
     {
         instance = new FrmClientes();
     }
     return(instance);
 }
 private void FrmClientes_FormClosed(object sender, FormClosedEventArgs e)
 {
     instance = null;
 }
Example #5
0
 private void FrmClientes_FormClosed(object sender, FormClosedEventArgs e)
 {
     instance = null;
 }