Exemplo n.º 1
0
 private void TxtDate_Validating(object sender, CancelEventArgs e)
 {
     if (_Tag == "" || ActiveControl == TxtDate)
     {
         return;
     }
     ClsGlobal.DateValidation(TxtDate, TxtMiti);
 }
Exemplo n.º 2
0
 private void TxtFromDate_Validating(object sender, System.ComponentModel.CancelEventArgs e)
 {
     if (_Tag == "" || ActiveControl == TxtFromDate)
     {
         return;
     }
     ClsGlobal.DateValidation(TxtFromDate, TxtFromMiti);
 }
Exemplo n.º 3
0
 private void TxtToDate_Validating(object sender, CancelEventArgs e)
 {
     if (ActiveControl == TxtToDate)
     {
         return;
     }
     if (TxtToDate.Text != "  /  /")
     {
         ClsGlobal.DateValidation(TxtToDate, null);
     }
 }
Exemplo n.º 4
0
 private void TxtFromDate_Validating(object sender, CancelEventArgs e)
 {
     if (ActiveControl == TxtFromDate)
     {
         return;
     }
     if (TxtFromDate.Text != "  /  /")
     {
         if (ClsGlobal.DateType == "D")
         {
             ClsGlobal.DateValidation(TxtFromDate, null);
         }
         else
         {
             ClsGlobal.MitiValidation(TxtFromDate, null);
         }
     }
 }