Пример #1
0
 public static PositionInsert GetInstance()
 {
     if (diform == null || diform.IsDisposed)
     {
         diform = new PositionInsert();
     }
     return(diform);
 }
Пример #2
0
        private void barButtonItem新增_ItemClick(object sender, ItemClickEventArgs e)
        {
            PositionInsert Frm = PositionInsert.GetInstance();

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