public static frmOrderInFromERPDB GetSingleton()
 {
     if (frm == null || frm.IsDisposed)
     // if (frm == null)
     {
         frm = new frmOrderInFromERPDB();
     }
     return(frm);
 }
Beispiel #2
0
        private void tsmiOrderIn_Click_1(object sender, EventArgs e)
        {
            frmOrderInFromERPDB frm = frmOrderInFromERPDB.GetSingleton();

            frm.MdiParent = this;
            // frm.ShowDialog();
            frm.Show();
            frm.Activate();
        }