Esempio n. 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();
        }
Esempio n. 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();
        }
 private void roleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         frmRole frm = new frmRole();
         frm.MdiParent = this;
         frm.Show();
     }
     catch (Exception)
     {
     }
 }