public void ExecuteInsertTable() { using (var form = new HtmlEditorTableNewForm()) { form.ExternalInformationProvider = Configuration == null ? null : Configuration.ExternalInformationProvider; if (form.ShowDialog(FindForm()) == DialogResult.OK) { InsertHtmlAtCurrentSelection(form.Html); } } }
public void ExecuteInsertTable() { using (var form = new HtmlEditorTableNewForm()) { form.ExternalInformationProvider = Configuration == null ? null : Configuration.ExternalInformationProvider; if (form.ShowDialog(FindForm()) == DialogResult.OK) { InsertHtmlAtCurrentSelection(form.Html); } } }
public void ExecuteTableProperties() { var table = CurrentSelectionTable as IHTMLTable; if (table != null) { using (var form = new HtmlEditorTableNewForm()) { form.ExternalInformationProvider = Configuration == null ? null : Configuration.ExternalInformationProvider; form.Table = table; form.ShowDialog(FindForm()); } } }
public void ExecuteInsertTable() { if (!EverInitialized) { return; } using (var form = new HtmlEditorTableNewForm()) { form.ExternalInformationProvider = Configuration?.ExternalInformationProvider; if (form.ShowDialog(FindForm()) == DialogResult.OK) { InsertHtmlAtCurrentSelection(form.Html); } } }
public void ExecuteTableProperties() { var table = CurrentSelectionTable as IHTMLTable; if (table != null) { using (var form = new HtmlEditorTableNewForm()) { form.ExternalInformationProvider = Configuration == null ? null : Configuration.ExternalInformationProvider; form.Table = table; form.ShowDialog(FindForm()); } } }