摘要: WPFSystemTray.cs 1 public class WPFSystemTray 2 { 3 /// <summary> 4 /// 设置系统托盘 5 /// </summary> 6 /// <param name="pars">最小化参数</param> 7 /// <param na 阅读全文
posted @ 2016-02-17 16:20 灰色雨逸 阅读(2313) 评论(0) 推荐(0) 编辑
摘要: 1 #region 开机自启 2 /// <summary> 3 /// 开机自启创建 4 /// </summary> 5 /// <param name="exeName">程序名称</param> 6 /// <returns></returns> 7 public bool StartAut 阅读全文
posted @ 2016-02-17 15:46 灰色雨逸 阅读(2450) 评论(0) 推荐(0) 编辑
摘要: App.xaml.cs 1 protected override void OnStartup(StartupEventArgs e) 2 { 3 //禁止二次启动 4 this.Startup += new StartupEventHandler(App_Startup); 5 base.OnSt 阅读全文
posted @ 2016-02-17 15:45 灰色雨逸 阅读(777) 评论(0) 推荐(0) 编辑