#DesignMode

C# UserControl 判断DesignMode

        .Net开发UserControl时,我们经常需要得知当前是DesignMode还是RuntimeMode。      在DesignMode时,.Net并不会运行...
代码星球 ·2020-04-05