M
Martijn Mulder
I want my custom UserControl to size and resize with its parent, a Form. But
when I use the code
Size=Parent.ClientSize;
in the constructor of myUserControl, Parent is null and the operation fails.
What is the proper place to put this code?
when I use the code
Size=Parent.ClientSize;
in the constructor of myUserControl, Parent is null and the operation fails.
What is the proper place to put this code?