摘要: 数据写入XML public static void WriteXML<T>(List<T> overview, string path) { FileInfo fInfo = new FileInfo(path); if (!fInfo.Directory.Exists) { fInfo.Dire 阅读全文
posted @ 2022-02-28 15:01 KevinSteven 阅读(201) 评论(0) 推荐(0) 编辑
摘要: private bool flag1 = true; private string ImgClosePath = Application.StartupPath.Replace("\\bin\\Debug", "\\Image") + "\\gaitubao_close_png.png"; //图片 阅读全文
posted @ 2022-02-28 14:54 KevinSteven 阅读(158) 评论(0) 推荐(0) 编辑
摘要: MD5加密方法: /// <summary> /// MD5加密 /// </summary> /// <param name="myString">加密文本</param> /// <returns>密文</returns> public static string Md5(string mySt 阅读全文
posted @ 2022-02-28 14:47 KevinSteven 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 全屏最大化代码: this.WindowState = System.Windows.Forms.FormWindowState.Maximized; 缩小最小化: this.WindowState = System.Windows.Forms.FormWindowState.Minimized; 阅读全文
posted @ 2022-02-28 14:42 KevinSteven 阅读(746) 评论(0) 推荐(0) 编辑