04 2018 档案
摘要:1.nuget装log4net 2.nuget控件台装 mysql.data Install-Package mysql.data -version 6.8.3 (太高的版本用不了,切记) 3.修改app.config文件,在configuration节点下添加 使用: LogExceptionHa
阅读全文
摘要:/// /// 单实例运行程序 /// static void SingleInstanceRun() { bool isAppRunning = false; Mutex mutex = new Mutex(true, Process.GetCurrentProcess()....
阅读全文
摘要:依赖: https://files.cnblogs.com/files/gaocong/SqlServerTools.rar
阅读全文
摘要:<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
阅读全文
摘要:只依赖 mysql.data
阅读全文
摘要:https://files.cnblogs.com/files/gaocong/%E4%B8%8D%E8%A7%84%E5%88%99%E9%94%AF%E9%BD%BF%E9%97%AE%E9%A2%98.rar
阅读全文
摘要:public partial class UcTest : UserControl { public UcTest() { InitializeComponent(); } //定义事件 public event EventHandler UserControlBtnClicked;...
阅读全文
摘要://public void Run() //{ // //httpListener提供一个简单,可通过编程方式控制的Http协议侦听器。此类不能被继承。 // if (!HttpListener.IsSupported) // { // //该类只能在Windows xp sp2...
阅读全文
摘要:转自: https://www.cnblogs.com/He-tao-yuan/p/6744412.html
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Text; using...
阅读全文
摘要:webapi引用选择4.x....的
阅读全文