Good afternoon,
Is there a convenient way of making a class, or object, or something where I can utilize an object in the Form1 class, but without having to re-specify every label, box, and location of each?

If that’s confusing, I’m making an order screen. I want to draw a button for each order which has labels showing some details. You can click the button to see further information about the order.

It would be so much more convenient to just call a “drawOrder” method and then just specify where the top left corner needs to be drawn.
I’m having troubles defining an object that is a button with several labels on the button.

You could:
Make a UserControl where the properties of its controls are tied to properties you give it.
Make a custom control, which is sort of like a UserControl but more code-based.

Write a method that adds controls at locations based on an input location.
Haven’t programmed in a while so I’m not sure what UserControl and custom control are.. I’ll give em a look, thanks!

And I’m avoiding that last part because it seems incredibly inefficient (correct me if I’m wrong plz) and I know I would compose a monstrosity to get it working

source