Example #1
0
 public static RoleInsert GetInstance()
 {
     if (stiform == null || stiform.IsDisposed)
     {
         stiform = new RoleInsert();
     }
     return(stiform);
 }
Example #2
0
        private void barButtonItem新增_ItemClick(object sender, ItemClickEventArgs e)
        {
            RoleInsert Frm = RoleInsert.GetInstance();

            Frm.TopLevel = false;
            //Frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            Frm.Parent = this;
            Frm.Show();
            Frm.BringToFront();
        }