Пример #1
0
        private void RibbonFormMain_Load(object sender, EventArgs e)
        {
            frmRole frm = new frmRole();

            //foreach (var item in MdiChildren)
            //{
            //    item.Close();
            //}
            frm.MdiParent = this;
            frm.Show();
        }
Пример #2
0
        private void barButtonItem4_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmRole frm = new frmRole();

            //foreach (var item in MdiChildren)
            //{
            //    item.Close();
            //}
            frm.MdiParent = this;
            frm.Show();
        }
Пример #3
0
 private void roleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         frmRole frm = new frmRole();
         frm.MdiParent = this;
         frm.Show();
     }
     catch (Exception)
     {
     }
 }