private void voosToolStripMenuItem_Click(object sender, EventArgs e) { FrmVoos voos = FrmVoos.getInstance(); voos.MdiParent = this; voos.Show(); }
public static FrmVoos getInstance() { if (instance == null) { instance = new FrmVoos(); } return instance; }
public static FrmVoos getInstance() { if (instance == null) { instance = new FrmVoos(); } return(instance); }
private void FrmVoos_FormClosed(object sender, FormClosedEventArgs e) { instance = null; }