08 2021 档案
摘要:// 获取运行环境是多少位 string platform = IntPtr.Size == 4 ? "x86" : "x64"; // 获取程序集是x86 还是x64 var asmInfo = System.Reflection.AssemblyName.GetAssemblyName(asse
阅读全文
摘要:Application.EnableVisualStyles(); form = new TestForm(); 记得要在构造Form之前,就要调用 Application.EnableVisualStyles(); 否则无效,显示不出来不同版本的操作系统的样式
阅读全文
摘要:首先明确四个参数: Server UserName Password DataBase
阅读全文