[System.componentmodel.designercategory ("code")] Is it dry?

xiaoxiao2021-03-06  14

In front of many classes [System.comPonentModel.Designercategory ("code")] Don't know what the function is, I can only search the English website, I found that foreigners said that things were relatively shallow, and it is easy to understand! ! ! !

For those of you who like certain control classes to open in the code view (instead of the designer view) by default. You can use the following attribute on your class so when you double click on it you get the code view.

[System.componentmodel.designercategory ("code")]]]]

I know this has been a nicety That I now use often.

To put it bluntly, double-click a .cs file in the solution, open this file in "code" instead of "Designer".

转载请注明原文地址:https://www.9cbs.com/read-49001.html

New Post(0)