Hi,

I'm having a weird problem with drawing a red cross on a usercontrol in its Paint() event:

Code:
UserControl.Line (0, 0)-(UserControl.Width, UserControl.Height), RGB(255, 0, 0)
UserControl.Line (0, UserControl.Height)-(UserControl.Width, 0), RGB(255, 0, 0)
Am I using the wrong coördinates? As long as I know the x-axis goes from left to right and the y-axis from up to down.
The thing I see is only one red line from topleft to bottomright...

Thx in advance,

RaKKeR