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

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