コード例 #1
0
 public static PurchaseTypeSetupAdd Instance()
 {
     if (sForm == null)
     {
         sForm = new PurchaseTypeSetupAdd();
     }
     return(sForm);
 }
コード例 #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            Form sForm = PurchaseTypeSetupAdd.Instance();

            //sForm.MdiParent = this;
            sForm.Show();
            sForm.Activate();
        }