Brak opisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

輸入密碼.vb 702B

1234567891011121314151617
  1. Public Class 輸入密碼
  2. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles 確認_bt.Click
  3. PA = 密碼_tb.Text : 密碼_tb.Text = "" : Me.Close()
  4. End Sub
  5. Private Sub 密碼_tb_KeyPress(ByVal sender As Object, ByVal e As KeyPressEventArgs) Handles 密碼_tb.KeyPress
  6. If e.KeyChar = Chr(13) Then
  7. PA = 密碼_tb.Text : 密碼_tb.Text = "" : Me.Close()
  8. End If
  9. End Sub
  10. Private Sub 取消_bt_Click(sender As Object, e As EventArgs) Handles 取消_bt.Click
  11. PA = "" : 密碼_tb.Text = "" : Me.Close()
  12. End Sub
  13. Private Sub 輸入密碼_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  14. End Sub
  15. End Class