/// <summary> /// Raises the CellButtonClicked event /// </summary> /// <param name="e">A CellButtonEventArgs that contains the event data</param> protected internal virtual void OnCellButtonClicked(CellButtonEventArgs e) { if (this.CanRaiseEvents) { if (CellButtonClicked != null) { CellButtonClicked(this, e); } } }
private void table_CellButtonClicked(object sender, CellButtonEventArgs e) { DoMyClickThing(e.CellPos); }