方法间多参数传递
摘要:public class StringEventArgs : EventArgs //要继承EventArgs { public StringEventArgs(string aStrValue) { StrValue = aStrValue; } public string StrValue {
阅读全文
绑定checkedComboBox
摘要:using System; namespace CommonLib{ /// <summary> /// CommonCode 的摘要说明。 /// </summary> [Serializable] public class CommonCode { private string m_ID = s
阅读全文
反射方法调用例子
摘要:private List<GetNewDateDTO> Reflection() { object obj; Assembly assembly = Assembly.Load("NetGet.UI");//加载DLL,NetGet.UI 为类库名称 Type t = assembly.GetTyp
阅读全文
gridView 删除一行后自动定位到指定行
摘要:/// <summary> /// 删除后定位到某一行 /// </summary> /// <param name="aCode"></param> /// <returns></returns> public int LocateRow(string aCode) { var list = bi
阅读全文