I've torn what's left of my hair out over this.
I'm making an app with several forms and wanted to add a label to each form that, when double clicked, would resize the form to 10 x 10 pixels.
ControlBox, MaximizeBox, MinimizeBox, properties are set to false so there is no title bar. No text or icon. MinimumSize is set to 0,0.
I made a new project that consists of one form with one label to make sure there was nothing in my code causing the problem but still every time I double click the label the form is resized to 27 pixels high by 112 wide.
Any ideas why this would be?
I'm making an app with several forms and wanted to add a label to each form that, when double clicked, would resize the form to 10 x 10 pixels.
ControlBox, MaximizeBox, MinimizeBox, properties are set to false so there is no title bar. No text or icon. MinimumSize is set to 0,0.
I made a new project that consists of one form with one label to make sure there was nothing in my code causing the problem but still every time I double click the label the form is resized to 27 pixels high by 112 wide.
Any ideas why this would be?