Пример #1
0
 private void A0021_Click(object sender, EventArgs e)
 {
     SmartAnything.UI.Distribution.frm_customer_item_Alloc objSupp = SmartAnything.UI.Distribution.frm_customer_item_Alloc.getSingleton();
     objSupp.MdiParent = this;
     objSupp.Activate();
     objSupp.Show();
 }
 /// <summary>
 /// Singleton object creation method
 /// </summary>
 /// <returns>object of a frmM_Supplier</returns>
 public static frm_customer_item_Alloc getSingleton()
 {
     if (objSingleObject == null || objSingleObject.IsDisposed)
     {
         objSingleObject = new frm_customer_item_Alloc();
     }
     return(objSingleObject);
 }