private void NewPersonalInfoForm_Load(object sender, EventArgs e)
 {
     /*--- 視窗開啟位置 ----------------
      *
      *- if: 位置與 SignUpForm 相同
      *-------------------------------*/
     if (isFromTableForm == true)
     {
         FormFunction.FormLocationWithParent(this, parentForm);
         parentForm.Visible = false; //隱藏 SignUpForm
     }
     else
     {
         FormFunction.SetFormLocation(this);
     }
 }
예제 #2
0
 private void OldPersonForm_Load(object sender, EventArgs e)
 {
     FormFunction.FormLocationWithParent(this, parentForm);
     parentForm.Visible = false; //隱藏SignUpForm (報名視窗)
 }