I know this might a simple question, but is there a way to add a Button (or other controls) to a Windows Form in just one line? Something like:
// Control constructor: new Control(string text, int left, int top, int x, int y)
Control.Add(new Control("Press me!", 100, 100, 40, 40) as Button);
since I want to use the Control constructor to define both the button's size and position on the form.
Thanks in advance.