/// <summary> /// Handles invocation of CloseEdit events /// </summary> internal void DoCloseEditEvent(GridPanel gridPanel, GridCell cell) { if (CloseEdit != null) { GridCloseEditEventArgs ev = new GridCloseEditEventArgs(gridPanel, cell); CloseEdit(this, ev); } }
private void gridDevice_CloseEdit(object sender, GridCloseEditEventArgs e) { if (e.GridCell.ColumnIndex == 1) { e.GridCell.EditorType = typeof(MyGridImageEditControl); e.GridCell.EditorParams = new object[] { deviceImageList, ImageSizeMode.Zoom }; } }