Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 public bool _checkCharacterNumberSubject(char _C)
 {
     return(GarenaViewModel._checkCharacterNumber(_C));
 }
Ejemplo n.º 3
0
 public bool _checkCharacterCharClass(char _C)
 {
     return(GarenaViewModel._checkCharacterChar(_C));
 }
Ejemplo n.º 4
0
 public bool _checkCharacterCharStudent(char _C)
 {
     return(GarenaViewModel._checkCharacterChar(_C));
 }
Ejemplo n.º 5
0
 public bool _checkCharacterCharProject(char _C)
 {
     return(GarenaViewModel._checkCharacterChar(_C));
 }
Ejemplo n.º 6
0
 public bool _checkCharacterCharFaculty(char _C)
 {
     return(GarenaViewModel._checkCharacterChar(_C));
 }