Exemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (abt == null)
            {
                if (d != null)
                {
                    d.Close();
                }
                if (lg != null)
                {
                    lg.Close();
                }
                abt               = new AboutUs();
                abt.MdiParent     = this;
                abt.StartPosition = FormStartPosition.CenterScreen;

                abt.FormClosed += new FormClosedEventHandler(Abt_FormClosed);
                abt.Show();
            }
        }
Exemplo n.º 2
0
 private void Abt_FormClosed(object sender, FormClosedEventArgs e)
 {
     abt = null;
 }