02 2022 档案
摘要:public override List<ModelParent> GetList(int pageIndex, int pageLength, string keyword, int id, ref int DataCount) { DataList = Code.BLLInterface.Get
阅读全文
摘要:DataList = Code.BLLInterface.GetList(new Model_ProgramRequest(), FilePath, new Model_ProgramRequest().ClassName); List<Model_ProgramRequest> list = Da
阅读全文
摘要://使用ConfigTool自动创建ini配置文件,保存系统配置参数。新建的文件保存在相对路径Config文件夹下。没有Config文件夹,需要手动创建文件夹,或是系统自动创建文件夹 public static bool bSortByDeviceName { get { return Tool.C
阅读全文
摘要:/// <summary> /// 创建Conifg文件夹 /// </summary> public static void CreadConfigFile() { try { string path = Application.StartupPath + "\\Config"; if (!Fil
阅读全文
摘要:数据写入XML public static void WriteXML<T>(List<T> overview, string path) { FileInfo fInfo = new FileInfo(path); if (!fInfo.Directory.Exists) { fInfo.Dire
阅读全文
摘要:private bool flag1 = true; private string ImgClosePath = Application.StartupPath.Replace("\\bin\\Debug", "\\Image") + "\\gaitubao_close_png.png"; //图片
阅读全文
摘要:MD5加密方法: /// <summary> /// MD5加密 /// </summary> /// <param name="myString">加密文本</param> /// <returns>密文</returns> public static string Md5(string mySt
阅读全文
摘要:全屏最大化代码: this.WindowState = System.Windows.Forms.FormWindowState.Maximized; 缩小最小化: this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
阅读全文