Esempio n. 1
0
 public static SMTCosting GetInstance()
 {
     if (smtcform == null || smtcform.IsDisposed)
     {
         smtcform = new SMTCosting();
     }
     return(smtcform);
 }
Esempio n. 2
0
        private void barButtonItem计算_ItemClick(object sender, ItemClickEventArgs e)
        {
            SMTCosting Frm = SMTCosting.GetInstance();

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            Frm.BringToFront();
        }
Esempio n. 3
0
        private void SMTCost_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized;
            SMTCosting Frm = SMTCosting.GetInstance();

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