-
C#自动更新服务(本地服务安装)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Common.WinService;using Common.Log;using System.Threading;using Common.Net;using System.Text.RegularExpressions;namespace Collection.AutoRunner{ //获取学生信息 public class Service_Update_Data : IWindowsService { private ILogWriter _logWriter = null; private const string logCategory = "Services.Info"; private string logInfoSource = "Update_Data"; private const string logErrorCategory = "Services.Error"; private const string logErrorSource = "Update_Data_Error"; private bool BeStop = true; private System.Timers.Timer timer = null; public void Start(Common.Log.ILogWriter logWriter, string gameCode) { gameCode = gameCode.ToUpper(); logInfoSource = gameCode; _logWriter = logWriter; BeStop = false; StartRequestData(); } int stata = 0; private void StartRequestData() { try { #region 配置 //时间频率 var UpdateStudentSpan = ServiceHelper.GetInterval("UpdateData"); //更新学生开始时间 var studentbegintime = ServiceHelper.GetInterval("StudentBeginTime"); //更新学生结束时间 var studentendtime = ServiceHelper.GetInterval("StudentEndTime"); //是否更新学生基本信息:true为更新 false为不更新 var IsUpdateStudnet =Convert.ToBoolean(ServiceHelper.GetSystemConfig("IsUpdateStudnet")); #endregion timer = ServiceHelper.ExcuteByTimer(UpdateStudentSpan, () => { int timeHour = DateTime.Now.Hour; if (timeHour == 3) stata = 0; #region 更新学生基本信息 if (studentbegintime
- 2015-03-11下载
- 积分:1
-
editor
关于多文档文本编辑器的小程序,希望对各位朋友们能有所帮助(Mini Programs, a multi-document text editor, hopes to be of help to all of you)
- 2018-10-28 21:36:13下载
- 积分:1
-
getimage
桌面截图的程序,MFC实现,将桌面截图保存在剪切板的同时,在c盘根目录下产生一个相同的桌面截图文件。(Desktop screenshot of the program, MFC implementation, desktop screenshots saved in the clipboard, while packing in the c directory create a file the same desktop screenshot.)
- 2010-01-14 21:29:47下载
- 积分:1
-
xhhyvv
system权限下,创建远程线程将dll注入用户进程,以用户身份发送消息(System permissions, will create a remote thread DLL injection user process, send a message to the user identity)
- 2017-06-02 08:51:05下载
- 积分:1
-
quanxiantisheng
权限提升工具,可以将拖放的程序提升到system权限,并且深度隐藏自身进程和拖放程序进程!(Permission to improve the tools, you can drag and drop program to enhance the system permissions and hide its own processes and the depth of the process of drag and drop program!)
- 2011-01-16 15:06:42下载
- 积分:1
-
CrashRpt_v.1.4.2_r1609
开源 异常 捕获上传程序 非常有用 值得学习(very useful)
- 2015-03-17 11:46:18下载
- 积分:1
-
五线谱学习软件源码(C# )
一个用于学习五线谱的小软件。 五线谱学习软件,用于钢琴初学者对五线谱的记忆。shengtao.guo@qq.com
- 2017-11-26下载
- 积分:1
-
checqed_frjmula
运行期间鼠标移动控件位置 运行期间鼠标移动控件位置delphi,(During a run during the running of mouse control position the mouse controls the Delphi location,)
- 2017-04-11 08:06:55下载
- 积分:1
-
c#考试系统 源码下载
c#考试系统 源码下载
- 2017-05-31下载
- 积分:1
-
processes
监控日志的程序,发现程序异常就自动重启,这样不至于严重影响客户使用.
多出时间来彻底解决问题.(moniter the processs)
- 2012-01-04 00:34:25下载
- 积分:1