コード例 #1
0
 public static DirectLabourInsert GetInstance()
 {
     if (dliform == null || dliform.IsDisposed)
     {
         dliform = new DirectLabourInsert();
     }
     return(dliform);
 }
コード例 #2
0
        private void barButtonItem新增_ItemClick(object sender, ItemClickEventArgs e)
        {
            DirectLabourInsert Frm = DirectLabourInsert.GetInstance();

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