public void txtIDClass_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (!GarenaViewModel._checkCharacterChar(e.KeyChar))
     {
         e.Handled = true;
         ((TextBox)sender).Focus();
         string _STRMesge = "Không được nhập ký tự số, chỉ được nhập chữ.";
         MessageBox.Show(_STRMesge, "Thông báo ", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Example #2
0
 public bool _checkCharacterNumberSubject(char _C)
 {
     return(GarenaViewModel._checkCharacterNumber(_C));
 }
Example #3
0
 public bool _checkCharacterCharClass(char _C)
 {
     return(GarenaViewModel._checkCharacterChar(_C));
 }
Example #4
0
 public bool _checkCharacterCharStudent(char _C)
 {
     return(GarenaViewModel._checkCharacterChar(_C));
 }
Example #5
0
 public bool _checkCharacterCharProject(char _C)
 {
     return(GarenaViewModel._checkCharacterChar(_C));
 }
Example #6
0
 public bool _checkCharacterCharFaculty(char _C)
 {
     return(GarenaViewModel._checkCharacterChar(_C));
 }