开发者

WinForms designer

I have a large number of forms with a lot of controls on them and i need to do specific actions with certain groups of controls. Is it possible to select all elements with the same type using vs winforms designer? or using other instruments? It's not a problem when i'm using custom controls where i can implement my own controlDesigner and override Verbs property (for example),开发者_开发知识库 but unfortunately most of them are common.


"I need to do specific actions with certain groups of controls" is pretty vague. If you are trying to change or insert a property to controls with a specific name or property value, you could try a global search and replace of the form.designer.cs files. Depending on what you're changing, this will be used by, overwritten by, or completely break the designer.

If you want a better answer you will have to describe what you're trying to do.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜