Controls, properties, events and timers running in design time
问题 Im using some custom control in vb.net, where I have a boolean property that, whenever it changes, it starts a timer if it's value is false or stops if it's true. If the timer runs for several seconds, it raises a messagebox that warns of a problem happening. The problem is that this messagebox shows even in design time. As I have traced, the default value for the property is false when the control loads in the winform in design time, it seems it starts the timer and when it ends raises the