コード例 #1
0
 private static void pmClearInstanse()
 {
     if (mInstanse != null)
     {
         mInstanse = null;
     }
 }
コード例 #2
0
 public static frmAmphur GetInstanse()
 {
     if (mInstanse == null)
     {
         mInstanse = new frmAmphur();
     }
     return(mInstanse);
 }
コード例 #3
0
 private void pmInitPopUpDialog(string inDialogName)
 {
     switch (inDialogName.TrimEnd().ToUpper())
     {
     case "AMPHUR":
         if (this.pofrmGetAmphur == null)
         {
             this.pofrmGetAmphur          = new DatabaseForms.frmAmphur(FormActiveMode.PopUp);
             this.pofrmGetAmphur.Location = new Point(AppUtil.CommonHelper.SysMetric(1) - this.pofrmGetAmphur.Width - 10, AppUtil.CommonHelper.SysMetric(9) + 5);
         }
         break;
     }
 }