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