コード例 #1
0
ファイル: mdi_form.cs プロジェクト: Tarahtelka/-
        private void точечнобисеральныйToolStripMenuItem_Click(object sender, EventArgs e)
        {
            tbs tbs_frm = new tbs();

            tbs_frm.MdiParent = this;
            tbs_frm.Show();
        }
コード例 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (flag == 1)
     {
         tbs tbs_frm = new tbs();
         tbs_frm.MdiParent = this;
         tbs_frm.Show();
     }
     if (flag == 2)
     {
         bs bs_frm = new bs();
         bs_frm.MdiParent = this;
         bs_frm.Show();
     }
     if (flag == 3)
     {
         rbs rbs_frm = new rbs();
         rbs_frm.MdiParent = this;
         rbs_frm.Show();
     }
     if (flag == 4)
     {
         rbs rbs_frm = new rbs();
         rbs_frm.MdiParent = this;
         rbs_frm.Show();
     }
 }