Açıklama Yok
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 773B

123456789101112131415
  1. Public Class 輸入日期
  2. Private Sub 輸入日期_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  3. End Sub
  4. Private Sub 輸入日期_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
  5. 日期_dtp.Format = DateTimePickerFormat.Custom : 日期_dtp.CustomFormat = " "
  6. End Sub
  7. Private Sub 日期_dtp_ValueChanged(sender As Object, e As EventArgs) Handles 日期_dtp.MouseDown
  8. 日期_dtp.Format = DateTimePickerFormat.Short
  9. End Sub
  10. Private Sub 新增資料_bt_Click(sender As Object, e As EventArgs) Handles 新增資料_bt.Click
  11. If 日期_dtp.Text = "" Or 日期_dtp.Text = " " Then : Else
  12. PA = Strings.Format(日期_dtp.Value, "yyyy/MM/dd") : Me.Close()
  13. End If
  14. End Sub
  15. End Class