protected override void contextMenuStrip_Cell_ItemClicked(object sender, ToolStripItemClickedEventArgs e) { switch (e.ClickedItem.ToString()) { case "Edit": StartEditing(sender, e); break; case "Delete This Cell": ParentGrid.DeleteCell(this.Row, this.Colomn); break; case "Insert Cell": ParentGrid.GetFooterCell(Row).OnMouseClick(this, null); break; } }