c6a9cd69c2
* NEW: Add examples again. I hope correctly this time. git-svn-id: svn://localhost/gambas/trunk@6726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
27 lines
432 B
Text
27 lines
432 B
Text
' Gambas class file
|
|
|
|
Public Sub Form_Open()
|
|
|
|
Me.Center
|
|
|
|
End
|
|
|
|
Public Sub btnCancel_Click()
|
|
|
|
Me.Close
|
|
|
|
End
|
|
|
|
Public Sub btnOK_Click()
|
|
|
|
If SpinDay.Value + SpinHrs.Value + SpinMins.Value = 0 Then
|
|
Message.Info(("There is no time correction selected."))
|
|
Return
|
|
Endif
|
|
|
|
Inc Application.Busy
|
|
FMain.TimeCorrection(SpinDay.Value, SpinHrs.Value, SpinMins.Value, cmbPlusMinus.Index)
|
|
Dec Application.Busy
|
|
Me.Close
|
|
|
|
End
|