public void ExecuteTableCellProperties() { var cells = CurrentSelectionTableCells; if (cells != null && cells.Length > 0) { using (var form = new HtmlEditorCellPropertiesForm()) { form.ExternalInformationProvider = Configuration == null ? null : Configuration.ExternalInformationProvider; form.Initialize(cells); form.ShowDialog(FindForm()); } } }
public void ExecuteTableRowProperties() { var row = CurrentSelectionTableRow; if (row != null) { using (var form = new HtmlEditorCellPropertiesForm()) { form.ExternalInformationProvider = Configuration == null ? null : Configuration.ExternalInformationProvider; form.Initialize(row); form.ShowDialog(FindForm()); } } }
public void ExecuteTableColumnProperties() { var table = CurrentSelectionTable as IHTMLTable; var columnIndex = CurrentSelectionTableColumnIndex; if (table != null && columnIndex >= 0) { using (var form = new HtmlEditorCellPropertiesForm()) { form.ExternalInformationProvider = Configuration == null ? null : Configuration.ExternalInformationProvider; form.Initialize(table, columnIndex); form.ShowDialog(FindForm()); } } }