示例#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();
            }
        }
示例#2
0
 private void Abt_FormClosed(object sender, FormClosedEventArgs e)
 {
     abt = null;
 }