P
pitt
i have datetimepicker with showup on form and customer must select time for
reservation but
if customer click on up or down button datetimepicker must raise(up)
orlowering(down) minute on my clock.
Only selected value can be something like that:
00:00
00:30
01:00
01:30
......
......
i put this code but doesn't work
Private Sub dtpVrijeme_ValueChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles dtpVrijeme.ValueChanged
Dim mjenjam As boolean
If mjenjam = True Then
Dim datum As Date
datum = dtpVrijeme.Value
mjenjam = False
dtpVrijeme.Value = (datum.AddMinutes(30))
mjenjam = True
End Sub
Can some on help me?
reservation but
if customer click on up or down button datetimepicker must raise(up)
orlowering(down) minute on my clock.
Only selected value can be something like that:
00:00
00:30
01:00
01:30
......
......
i put this code but doesn't work
Private Sub dtpVrijeme_ValueChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles dtpVrijeme.ValueChanged
Dim mjenjam As boolean
If mjenjam = True Then
Dim datum As Date
datum = dtpVrijeme.Value
mjenjam = False
dtpVrijeme.Value = (datum.AddMinutes(30))
mjenjam = True
End Sub
Can some on help me?