示例#1
0
        private void sairToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmAviao aviao = FrmAviao.getInstance();

            aviao.MdiParent = this;
            aviao.Show();
        }
示例#2
0
 public static FrmAviao getInstance()
 {
     if (instance == null)
     {
         instance = new FrmAviao();
     }
     return instance;
 }
示例#3
0
 public static FrmAviao getInstance()
 {
     if (instance == null)
     {
         instance = new FrmAviao();
     }
     return(instance);
 }
示例#4
0
 private void FrmAviao_FormClosed(object sender, FormClosedEventArgs e)
 {
     instance = null;
 }
示例#5
0
 private void FrmAviao_FormClosed(object sender, FormClosedEventArgs e)
 {
     instance = null;
 }