示例#1
0
 /// <summary>
 /// Singleton object creation method
 /// </summary>
 /// <returns>object of a frmM_Supplier</returns>
 public static frm_rfcards getSingleton()
 {
     if (objSingleObject == null || objSingleObject.IsDisposed)
     {
         objSingleObject = new frm_rfcards();
     }
     return(objSingleObject);
 }
示例#2
0
        private void A0012_Click(object sender, EventArgs e)
        {
            frm_rfcards objSupp = frm_rfcards.getSingleton();

            objSupp.MdiParent = this;
            objSupp.Activate();
            objSupp.Show();
        }