摘要: 第一、记得加VisibleIndex 第二、在加咧过程中用 GridControl.BeginInit(), GridView.BeginInit(); GridView.EndInit(); GridControl.EndInit();包起来 第三、基本的信息绑定信息要对;即FieldName要填 阅读全文
posted @ 2019-12-19 19:18 单车旅途 阅读(551) 评论(0) 推荐(0) 编辑
摘要: OpenFileDialog.Filter = "图片|*.jpg;*.png;*.gif;*.jpeg;*.bmp"; 可以写成拼接字符串。 Filter ="文件|*." + BaseInfo.FileExtension + ";*." + BaseInfo.FileExtension.ToUp 阅读全文
posted @ 2018-11-09 18:16 单车旅途 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 单例模式是为了使一个类只有一个实例,并提供一个全局访问点--抄的 public class SingleInstance<T> where T:class,new() { private static T _instance; private static readonly object lock= 阅读全文
posted @ 2018-05-05 11:04 单车旅途 阅读(89) 评论(0) 推荐(0) 编辑