Now want to make a small program on time, but there is a problem not how will solve: two datetimepicker control is used to set a, said a space between the time, another said he defined time, could you tell me how to solve this problem
CodePudding user response:
Write well, code is as follows:
Public Class Form1 Private Sub Timer1_Tick (sender As Object, As EventArgs e) Handles Timer1. Tick DateTimePicker1. Value=https://bbs.csdn.net/topics/Now End Sub
Private Sub Form1_Load (sender As Object, As EventArgs e) Handles Me. The Load DateTimePicker2. Value=https://bbs.csdn.net/topics/#2019-08-05 00:00:00 #