/// <summary> /// 引发BeginEditCell事件. /// </summary> /// <param name="e"></param> protected virtual void OnBeginEditCell(ListCellEditEventArgs e) { if (BeginEditCell != null) { BeginEditCell(this, e); } }
protected override void OnMouseDoubleClick(MouseEventArgs e) { if (_CurrentItem != null && _SelectSubItem != null) { ListCellEditEventArgs args = new ListCellEditEventArgs( _CurrentItem, _SelectSubItem, _SubItemIndex, _MouseX, _MouseY); OnBeginEditCell(args); } base.OnMouseDoubleClick(e); }