开发者

how suppress auto build in ide for my winform usercontrols

开发者 https://www.devze.com 2023-03-09 12:12 出处:网络
i have several init开发者_如何学编程ialization items in my Load event that I would like to suppress when the project is opened in the vs2008 IDE. is there a directive that I can place in front of my c

i have several init开发者_如何学编程ialization items in my Load event that I would like to suppress when the project is opened in the vs2008 IDE. is there a directive that I can place in front of my c# code that would prevent execution.

.net 2.0


You could check for DesignMode in the Load event handler.

0

精彩评论

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

关注公众号