G
Guest
What is the correct way to detect Design Mode when building controls in
WinForms?
Thank you
WinForms?
Thank you
Serg said:What is the correct way to detect Design Mode when building controls in
WinForms?
Claes Bergefall said:Actually it says that DesignMode is false if the component
doesn't have an ISite associated with it.
You can't use it in the constructor if that's what you're doing
(since the ISite hasn't been associated yet). Move your
code to another place.
/claes