文档标签: C#

C#读写注册表信息

Continue Read..
C#读写注册表信息 //RegistryAccess注册表访问类 using System; using System.Reflection; using Microsoft.Win32; namespace WindowsFormsApplication1 {    /// <summary>    /// 访问注册表    /// </summary>   public class RegistryAccess    {       private RegistryKey _Software;       private RegistryKey _Company;       private RegistryKey _Product;       public  RegistryAccess():this(((AssemblyCompanyAttribute)Attribut

C#中调用执行其他应用程序

Continue Read..
C#中调用执行其他应用程序 在电脑磁盘目录”D:/ProgramFiles/**Application/**.exe”可执行文件,现在要用C#编程让此可执行文件运行 produit equivalent au viagra. C#代码如下: /// <summary> /// 调用应用程序 /// </summary> /// <param name=”sender”></param> /// <param name=”e”></param> private void btnCallExe_Click(object sender, EventArgs e) { Process p = new Process(); p.Star