winform
foreverhot1019
这个作者很懒,什么都没留下…
展开
-
Quartz.Net+Microsoft.Extensions.Hosting创建服务
Microsoft.Extensions.Hosting 可以绑定 asp.net core 程序可以是framework 4.6.1 以后的任意应用程序,快速 创建 集 configuration、dependency injection,logging 的应用,自动管理应用 生命周期。最后 通过 sc create reportjob binPath="exePath" 就可以创建服务了。Microsoft.Extensions.Http.Polly 如果需要用HttpClient。原创 2022-11-10 17:58:00 · 803 阅读 · 0 评论 -
C# 数字转abc顺序 数字转Excel列名
private static List<string> Level = new List<string> { "A","B","C","D","E","F","G","H","I","J", "K","L","M","N","O","P","Q","R","S","T", "U","V","W","X","Y","Z", }; /// <su...原创 2020-10-16 15:16:27 · 791 阅读 · 1 评论 -
vs2013 创建服务
注册启动服务:Windows服务器注册停止 打开CMD窗口--开始--运行--输入CMD,回车 注册服务命令 cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 InstallUtil.exe D:\HardWareServerService.exe (HardWareServerService为工程的名字)net star转载 2017-02-23 14:17:58 · 264 阅读 · 0 评论 -
创建 bat 添加和删除 服务
-----------Install.bat------------%WINDIR%/Microsoft.NET/Framework/v2.0.50727/installUtil WindowsService_dos.exenet start "epAgentService" pause-----------UnInstall.bat-------%WINDIR%/Micros转载 2017-02-23 14:30:41 · 1367 阅读 · 0 评论 -
C# 多线程 AutoResetEvent和ManualResetEvent
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Threading.Tasks;namespace MutiThreadTest{ class Program原创 2017-04-20 17:19:12 · 1283 阅读 · 0 评论