Design Time Collection Property
hello,
i have 2 winforms 1 , 2. 2 inherit 1.
winform 1: i want create property named editablecontrols (control collection), when in edit mode, have 1 method set controls in editablecontrols editable, otherwise set read only.
winform 2: in designer mode, go property editablecontrols, select controls defined in winform 2 (could textbox, combobox etc). better can select via collection editor.
anybody knows how design property editablecontrols? if have such property, easy set editable/read controls when edit mode changes.
thanks help!
ay
just take @ answer in stackoverflow thread. think, give @ least hints on how this. there may other ways, too.
kind regards,
wizend
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment