Properties losing their values

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Hello,

I have a custom ToolStrip control that inherits from ToolStripControlHost.
At design time when I set the properties of the control that is being hosted
by the ToolStrip control the properties do not stick. The get set back to
their default values.

For example I have a property called Maximum. At design time I set this to
5. When the application runs it re-sets it to the default value of 100. This
happens for both the running instance and the design time value.

I know I've had this problem before but cannot remember how to fix. it.

Thanks,
Joe
 
Back
Top