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

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