I have created the Colour Dialog as much as I can and have been told that might be helpful but everytime I try to use it in my program I have, which is a basic version of MS Paint, it crashes.
Private Sub butCColor_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles butCColor.Click
blnColorClicked = True
Dim CColorD As New ColorDialog
CColorD.ShowDialog()
Me.BackColor = CColorD.Color
CColorD.FullOpen = True
CColorD.ShowHelp = False
CColorD.AnyColor = True
If (CColorD.ShowDialog() = System.Windows.Forms.DialogResult.OK) Then
cColor = CColorD.Color
Else
cColor = System.Drawing.Color.Black
End If
End Sub
This is the coding I have up. But to be honest, I have no idea what it does. It's borked and I have no idea how to fix it and need to work it out by the 17th of June. >< Please help?!