W
Weinand Daniel
i'd like to monitor changes of the "Control.Name" porperty during
designtime.
if the user changes the name in designer my event musst fire.
i have created a own button control. with an event NameChange.
during runtime it works fine. if the name of the control has changed the
event is fireing.
(for example: designtime name of the button is btnOk, on a second button
i changed the name
during runtime with btnOk.Name = "btnOk2", -> event is ok)
but now i need the same event during desingtime, cause i need to write
the changed
name property into a txt file.
(renaming btnOk to btnOk2 in designer, -> need the event at this place)
how can i bind my event during designtime too?
regards
Daniel
designtime.
if the user changes the name in designer my event musst fire.
i have created a own button control. with an event NameChange.
during runtime it works fine. if the name of the control has changed the
event is fireing.
(for example: designtime name of the button is btnOk, on a second button
i changed the name
during runtime with btnOk.Name = "btnOk2", -> event is ok)
but now i need the same event during desingtime, cause i need to write
the changed
name property into a txt file.
(renaming btnOk to btnOk2 in designer, -> need the event at this place)
how can i bind my event during designtime too?
regards
Daniel