实现效果:
知识运用:
Application类的StartupPath属性
public static string StartupPath {get;}
实现代码:
private void button1_Click(object sender, EventArgs e) { textBox1.Text = Application.StartupPath; }
原文地址:https://www.cnblogs.com/feiyucha/p/10236161.html
时间: 2024-10-14 03:54:28