C# - Environment类,获取桌面的路径

        private void button1_Click(object sender, EventArgs e)
{
string Path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
this.textBox1.Text = Path;
}

  

上一篇:man/info


下一篇:UVa11526 H(n)