Loading

判断当前程序是在调试环境下运行?

if (System.Diagnostics.Debugger.IsAttached) { this.textBox1.Text = "debug"; } else { this.textBox1.Text = "NOdebug"; }
posted @ 2012-06-27 01:06  jevan  阅读(281)  评论(0编辑  收藏  举报