Sono riuscito a fare così: :-X
Public Sub Form_Open()
DrawingArea1.Background = Color.White
End
Public Sub DrawingArea1_Draw()
With Paint
.FillRect(100, 100, 1, 1, Color.Black)
.End
End With
End
Ma non disegnava nulla.
Usando quell'altro Metodo, devi semplicemente aggiungere il Metodo "Paint.Fill( )":
Public Sub DrawingArea1_Draw()
With Paint
.Rectangle(100, 100, 1, 1)
.Fill()
.End
End With
End
e se vuoi un punto colorato, devi far precedere il tutto dalla Proprietà statica "Paint.Brush":
Public Sub DrawingArea1_Draw()
With Paint
.Brush = .Color(Color.Red)
.Rectangle(100, 100, 1, 1)
.Fill()
.End
End With
End