예제 #1
0
        private void ribbonButton5_Click(object sender, EventArgs e)
        {
            if (this.MdiChildren.Count() == 0)
            {
                no_f ens = new no_f();
                ens.MdiParent = this;
                ens.Dock      = DockStyle.Fill;
                ens.Show();
            }
            else
            {
                closeAll();
                no_f ens = new no_f();
                ens.MdiParent = this;
                ens.Dock      = DockStyle.Fill;
                ens.Show();
            }
            ribbonButton3.Enabled = false;
            // ribbonButton5.Enabled = true;
            ribbonButton6.Enabled = true;
            ribbonButton8.Enabled = false;
            ribbonButton9.Enabled = false;
            No_FIght_Import en = new No_FIght_Import();

            en.ShowDialog();
        }
예제 #2
0
파일: no_f.cs 프로젝트: yusaku04/Derby
 public no_f()
 {
     InitializeComponent();
     load_data();
     load_data2();
     panel2.BringToFront();
     panel4.BringToFront();
     metroTabControl1.BringToFront();
     load_fight();
     form1 = this;
 }
예제 #3
0
 private void ribbonButton4_Click(object sender, EventArgs e)
 {
     if (this.MdiChildren.Count() == 0)
     {
         no_f en = new no_f();
         en.MdiParent = this;
         en.Dock      = DockStyle.Fill;
         en.Show();
     }
     else
     {
         closeAll();
         no_f en = new no_f();
         en.MdiParent = this;
         en.Dock      = DockStyle.Fill;
         en.Show();
     }
     //ribbonButton2.Enabled = false;
     ribbonButton3.Enabled = false;
     // ribbonButton5.Enabled = true;
     ribbonButton6.Enabled = true;
     ribbonButton8.Enabled = false;
     ribbonButton9.Enabled = false;
 }