且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用C#在计算机启动时运行程序?

更新时间:2023-01-30 08:35:46

您应该在CP ^ ]

还有 Google [
You should see this article on CP Run C# application on windows startup[^]

And Google[^] is your best friend.


1)在开始"菜单中的启动"文件夹中放置一个快捷方式
2)将注册表项放在相应的运行"项中.
(我将留给您来制定Google搜索,以获取您所需的信息.由于您可以自己进行搜索,因此,我不愿意为您完成搜索.)
1) Put a shortcut in the Startup folder found in the Start Menu
2) Put a registry entry in the appropriate Run key.
(I''ll leave it to you to formulate the google searches that will get you the information you require. Since you couldn''t be bothered to perform the search yourself, I can''t be bothered to do it for you)


查找解决方案 ^ ]