示例#1
0
 void SetControlError(ref bool FirstError, TroposInput iControl)
 {
     iControl.HighlightError = true;
     if (FirstError)
     {
         FirstError = false;
         iControl.Focus();
     }
 }
示例#2
0
 void SetControlError(ref bool FirstError, TroposInput iControl, bool highlight)
 {
     iControl.HighlightError = highlight;
     if (highlight)
     {
         if (FirstError)
         {
             FirstError = false;
             iControl.Focus();
         }
     }
 }