I am having trouble drawing a line within a group box in a simple windows form.
here is my code:
public partial class Form1 : Form { publ
I'm not sure if something else is going on, but you should draw the line on the GroupBox's Paint event, not the Form's.
GroupBox
Form