Esempio n. 1
0
 private void btnAddLocation_Click(object sender, EventArgs e)
 {
     if (MsgBoxUtil.MsgSave())
     {
         insertLocation();
     }
 }
Esempio n. 2
0
 private void btnAddPerson_Click(object sender, EventArgs e)
 {
     if (txtEmployeeNumber.Text == "")
     {
         MsgBoxUtil.MsgInfo("Employee Number Belum Diisi!!");
         return;
     }
     if (txtEmployeeName.Text == "")
     {
         MsgBoxUtil.MsgInfo("Employee Name Belum Diisi!!");
         return;
     }
     if (txtPassword.Text == "")
     {
         MsgBoxUtil.MsgInfo("Password Belum Diisi!!");
         return;
     }
     if (cmbGender.Text == "")
     {
         MsgBoxUtil.MsgInfo("Gender Belum Diisi!!");
         return;
     }
     if (MsgBoxUtil.MsgSave())
     {
         insertPEA();
     }
 }
Esempio n. 3
0
 private void btnUpdateLocation_Click(object sender, EventArgs e)
 {
     if (MsgBoxUtil.MsgSave())
     {
         updateLocation();
     }
 }