hello,
in java when you want to do custom painting in a panel, you usually override the paint() function.
now i am looking for the corresponding function to override in a C# panel.
also i would be thankful for a short samplecode to do some painting. like draw a circle or something.
thanks a lot!
edit: ok thanks for your answers! i have an additional question on this: what is the preferred method to manually trigger a repaint? for example i want my red circle to be green suddenly. how do i make the call to OnPaint()?
thanks!