摘要: 利用VC#.NET 2005的Windows服务项目创建一个Windows服务利用VC#.NET 2005的Windows服务项目创建一个Windows服务。功能:每一小时提示一个对话框!#主程式 Program.csusing System.Collections.Generic;using System.ServiceProcess;using System.Text;using System;namespace TimeForAction{ static class Program { //将有SCM System Control Manager来调用 static void Mai 阅读全文
posted @ 2011-01-07 16:02 努力实现目标 阅读(615) 评论(0) 推荐(0) 编辑
摘要: C# 创建系统服务并定时执行1.新建项目 --》 Windows 服务2.Service1.cs代码view plaincopy to clipboardprint?using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.ServiceProcess; using System.IO; using System.Text; using System.Timers; using Sys 阅读全文
posted @ 2011-01-07 16:01 努力实现目标 阅读(21405) 评论(0) 推荐(5) 编辑