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