System.Diagnostics.Process.Start("TimeDate.cpl");
调用系统时间窗体
System.Diagnostics.Process.Start("calc.exe");
调用系统其他exe文件
本文介绍了如何使用 C# 代码调用 Windows 系统的时间设置窗口 (TimeDate.cpl) 和计算器应用 (calc.exe)。这对于自动化任务或集成系统功能到应用程序中非常有用。
System.Diagnostics.Process.Start("TimeDate.cpl");
调用系统时间窗体
System.Diagnostics.Process.Start("calc.exe");
调用系统其他exe文件

被折叠的 条评论
为什么被折叠?