标签:art 实现 object strong 打开 控制面板 打开控制面板 dia sha
实现效果:
知识运用:
Process类的Start方法
实现代码:
private void button1_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("main.cpl"); } private void button2_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("desk.cpl"); } private void button3_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("ncpa.cpl"); } private void button4_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("mmsys.cpl"); } private void button5_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("sysdm.cpl"); } private void button6_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("firewall.cpl"); }
标签:art 实现 object strong 打开 控制面板 打开控制面板 dia sha
原文地址:https://www.cnblogs.com/feiyucha/p/10317507.html