예제 #1
0
 public Form_main()
 {
     InitializeComponent();
     if (frm == null)
     {
         frm = this;
     }
     this.control1.Enabled = false;
     this.heder1.Enabled   = false;
 }
예제 #2
0
        private void btn_exit_Click(object sender, EventArgs e)
        {
            Form_main f = new Form_main();

            // f.Location = new Point(20, 20);


            f.Show();

            ((Form)this.TopLevelControl).Close();
        }
예제 #3
0
 static void frm_FormClosed(object sender, FormClosedEventArgs e)
 {
     frm = null;
 }