- UID
- 177244
- 帖子
- 49
- 主題
- 14
- 精華
- 0
- 積分
- 10
- 楓幣
- 5
- 威望
- 9
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 9
- 閱讀權限
- 10
- 性別
- 保密
- 在線時間
- 22 小時
- 註冊時間
- 2017-2-1
- 最後登入
- 2019-2-8
|
Torin 發表於 2017-4-29 11:14
把你的 Code 貼出來啊,這樣誰知道問題!
Private Sub Form1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp
Select Case e.KeyCode
Case Keys.F1
Button1.PerformClick()
Case Keys.F3
Button2.PerformClick()
End Select
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Enabled = True
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Timer1.Enabled = False
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{Enter}")
End Sub
----------------
現在這個程式碼是洗頻的,跟創建頻道一樣沒效果.. |
|