02 2025 档案

动态改变 log4net 日志位置
摘要:private static void changeLogFileLocation() { var logPath = ProfileHelper.GetLogPath(); // 获取当前的日志记录器 var hierarchy = (Hierarchy)LogManager.GetReposit 阅读全文

posted @ 2025-02-04 12:23 空明流光 阅读(3) 评论(0) 推荐(0) 编辑

winform 无窗体保持消息循环
摘要:static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetC 阅读全文

posted @ 2025-02-04 11:44 空明流光 阅读(3) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示