internal void ExecuteShowSource() { using (var form = new HtmlSourceTextEditForm(DocumentText)) { form.ExternalInformationProvider = Configuration == null ? null : Configuration.ExternalInformationProvider; if (form.ShowDialog(this) == DialogResult.OK) { DocumentText = form.HtmlText; updateUI(); } } }
internal void ExecuteShowSource() { if (!EverInitialized) { return; } using (var form = new HtmlSourceTextEditForm(DocumentText)) { form.ExternalInformationProvider = Configuration?.ExternalInformationProvider; if (form.ShowDialog(this) == DialogResult.OK) { DocumentText = form.HtmlText; updateUI(); } } }