Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

What is the best way to perform custom control initialization at runtime?

When custom initialization is to be done during runtime on certain controls, the best way is to implement the ISupportInitialize interface in that control. Then the BeginInit method will be called as soon as the control gets created, and EndInit will be called after the design-time initialization of that control.

Contributed from George Shepherd's Windows Forms FAQ