21-01-18, 11:07 PM
استعملت هذه الطريقة وكانت تخرج رساله خطا لا اعرف سببها
If e.KeyCode = 97 Then cmd1_Click(Nothing, Nothing)
If e.KeyCode = 98 Then cmd2_Click(Nothing, Nothing)
If e.KeyCode = 99 Then cmd3_Click(Nothing, Nothing)
If e.KeyCode = 100 Then cmd4_Click(Nothing, Nothing)
If e.KeyCode = 101 Then cmd5_Click(Nothing, Nothing)
If e.KeyCode = 102 Then cmd6_Click(Nothing, Nothing)
If e.KeyCode = 103 Then cmd7_Click(Nothing, Nothing)
If e.KeyCode = 104 Then cmd8_Click(Nothing, Nothing)
If e.KeyCode = 105 Then cmd9_Click(Nothing, Nothing)
If e.KeyCode = 97 Then cmd1_Click(Nothing, Nothing)
If e.KeyCode = 98 Then cmd2_Click(Nothing, Nothing)
If e.KeyCode = 99 Then cmd3_Click(Nothing, Nothing)
If e.KeyCode = 100 Then cmd4_Click(Nothing, Nothing)
If e.KeyCode = 101 Then cmd5_Click(Nothing, Nothing)
If e.KeyCode = 102 Then cmd6_Click(Nothing, Nothing)
If e.KeyCode = 103 Then cmd7_Click(Nothing, Nothing)
If e.KeyCode = 104 Then cmd8_Click(Nothing, Nothing)
If e.KeyCode = 105 Then cmd9_Click(Nothing, Nothing)
