04 2018 档案
DataGridView 在 WinForms中应用不同的单元格式
摘要:/// /// Set the cell background colour to make the ups and downs more visible. /// /// /// private void dgvData_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { DataGrid... 阅读全文
posted @ 2018-04-24 20:43 武胜-阿伟 阅读(390) 评论(0) 推荐(0)
.Net中集合排序
摘要:该对象,主要有三个字段,现在的业务需求是,取到了一个类型为List<StockQuantity>集合StockQuantities,需要对该集合进行三次排序,排序规则及优先级如下:1. Status为空的排在后面,不为空的排在前面,不关心Status的内容,只关心Status是否为空。2. Date 阅读全文
posted @ 2018-04-17 08:05 武胜-阿伟 阅读(1266) 评论(0) 推荐(0)
dev的documentManager,多个tab窗体
摘要:效果如下 private void AddDocument(Funcation CurrentModel) { if (!string.IsNullOrWhiteSpace(CurrentModel.FunctionKey)) { //如果旧版本名称与新版本不一样,用‘,’分开 var typeFu 阅读全文
posted @ 2018-04-12 21:33 武胜-阿伟 阅读(751) 评论(2) 推荐(1)