📄 frmempedit.vb
字号:
End Sub
Private Sub txtBasePrize_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtBasePrize.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
If In_Single(KeyAscii) = False Then
KeyAscii = 0
End If
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtBaseWage_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtBaseWage.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
If In_Int(KeyAscii) = False Then
KeyAscii = 0
End If
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtBp_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtBp.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtCulture_Level_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtCulture_Level.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtEmp_Name_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtEmp_Name.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtFamily_Place_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtFamily_Place.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtFiles_Keep_Org_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtFiles_Keep_Org.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtFillin_Person_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtFillin_Person.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtHomePhone_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtHomePhone.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtHukou_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtHukou.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtId_Card_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtId_Card.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtMemo_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtMemo.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtMobile_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtMobile.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtNationality_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtNationality.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtOfficePhone_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtOfficePhone.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtPcId_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtPcId.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtPolice_Post_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtPolice_Post.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtPolitical_Party_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtPolitical_Party.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtPosition_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtPosition.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtPostcode_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtPostcode.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
If In_Int(KeyAscii) = False Then
KeyAscii = 0
End If
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtResidence_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtResidence.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtStreet_Office_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtStreet_Office.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtTitle_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtTitle.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
Private Sub txtWorking_Years_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtWorking_Years.KeyPress
Dim KeyAscii As Short = Asc(e.KeyChar)
EnterTAB((KeyAscii))
If In_Int(KeyAscii) = False Then
KeyAscii = 0
End If
e.KeyChar = Chr(KeyAscii)
If KeyAscii = 0 Then
e.Handled = True
End If
End Sub
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -