只有在调试(debug)的时候 ,textBox2 中的值才是aaa,在启动程序的时候就 为空了。
this.textBox2.Text = "";
if (true == System.Diagnostics.Debugger.IsAttached)
{
this.textBox2.Text = "aaa";
}
只有在调试(debug)的时候 ,textBox2 中的值才是aaa,在启动程序的时候就 为空了。
this.textBox2.Text = "";
if (true == System.Diagnostics.Debugger.IsAttached)
{
this.textBox2.Text = "aaa";
}