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

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