谢谢!
參考答案:private void button1_Click(object sender, System.EventArgs e)
{
string strPath = Application.StartupPath;
textBox1.Text = strPath ;
}
生成后的exe文件在什么目录,strPath就是那个目录名
谢谢!
參考答案:private void button1_Click(object sender, System.EventArgs e)
{
string strPath = Application.StartupPath;
textBox1.Text = strPath ;
}
生成后的exe文件在什么目录,strPath就是那个目录名