using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NXWMS.Client.FrmCustom { /// /// 自定义事件 /// public class CustomEventMsg { public delegate void AfterSelectorEventHandler(object sender, AfterSelectorEventArgs e); } /// /// 自定义行选择后事件 /// public class AfterSelectorEventArgs : EventArgs { /// /// 行索引 /// public int RowIndex { get; set; } /// /// 列索引 /// public int ColumnIndex { get; set; } /// /// 事件触发传入的参数 /// public object Value { get; set; } /// /// 构造函数 /// /// 行索引 /// 列索引 /// 值 public AfterSelectorEventArgs(int rowIndex, int columnIndex, object value) { RowIndex = rowIndex; ColumnIndex = columnIndex; Value = value; } } }