コード例 #1
0
 public static UserDeptCheckInsert GetInstance()
 {
     if (diform == null || diform.IsDisposed)
     {
         diform = new UserDeptCheckInsert();
     }
     return(diform);
 }
コード例 #2
0
        private void barButtonItem新增_ItemClick(object sender, ItemClickEventArgs e)
        {
            UserDeptCheckInsert Frm = UserDeptCheckInsert.GetInstance();

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            Frm.BringToFront();
        }