实现效果:

知识运用:
Environment类的CurrentDirectory属性 //获取或设置当前工作目录的完全限定路径
public static string CurrentDirectory {get; set;}
实现代码:
private void button1_Click(object sender, EventArgs e)
{
textBox1.Text = Environment.CurrentDirectory;
}