SavePicture picCanvas.Image, App.Path & "\Saved images\Image captured " & Replace(Date, "/", "-") & " at " & Replace(Time, ":", "-") & "." & SaveType ' Save the picture. Filename has Time and Date stamp.
cmdClear_Click
End Sub
Private Sub cmdSprayer_Click(Index As Integer)
On Error Resume Next
'Set SprayerPict = LoadPicture(App.Path & "\sprayer\" & Index & "." & ShellType) ' Load an appropriate image for sprayer
'Set MaskPict = LoadPicture(App.Path & "\sprayer\" & Index & "_mask." & ShellType) ' Load an appropriate mask for sprayer
'If Me.WindowState = vbMaximized Then picCanvas.Move 0, TopConst, Screen.Width, Screen.Height ' I had some problems with aligning when window is maximized (width and height aren't showing real values) so we will align to Screen.Width and Height
End Sub
Private Sub mnuPopupRandom_Click()
End Sub
Private Sub imgSprLeft_Click()
On Error Resume Next
CurrentSprayer = CurrentSprayer - 1
If CurrentSprayer < 1 Then CurrentSprayer = SprayerCount