1在C#2005中创建快捷方式using System;
 2在C#2005中创建快捷方式using System.Collections.Generic;
 3在C#2005中创建快捷方式using System.Text;
 4在C#2005中创建快捷方式using IWshRuntimeLibrary;
 5在C#2005中创建快捷方式//在引用里面添加“Windows Script Host Object Model”
 6在C#2005中创建快捷方式namespace Shortcuts
 7
上面的代码就是在C#中创建快捷方式的核心部分。其中这个类需要在引用中添加“Windows Script Host Object Model”并且USING IWshRuntimeLibrary
下面是一个在VS.NET2005中制作的WINFORM程序。这个程序将演示如何在桌面上创建自己的快捷方式。
 1在C#2005中创建快捷方式using System;
 2在C#2005中创建快捷方式using System.Collections.Generic;
 3在C#2005中创建快捷方式using System.ComponentModel;
 4在C#2005中创建快捷方式using System.Data;
 5在C#2005中创建快捷方式using System.Drawing;
 6在C#2005中创建快捷方式using System.Text;
 7在C#2005中创建快捷方式using System.Windows.Forms;
 8在C#2005中创建快捷方式
 9在C#2005中创建快捷方式namespace 创建快捷方式
10}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
猜你喜欢
  • 2021-12-11
  • 2021-08-14
  • 2021-10-22
  • 2021-10-01
  • 2021-08-18
  • 2022-12-23
相关资源
相似解决方案