public void ExecuteInsertTable()
        {
            using (var form = new HtmlEditorTableNewForm())
            {
                form.ExternalInformationProvider = Configuration == null
                    ? null
                    : Configuration.ExternalInformationProvider;

                if (form.ShowDialog(FindForm()) == DialogResult.OK)
                {
                    InsertHtmlAtCurrentSelection(form.Html);
                }
            }
        }
Beispiel #2
0
        public void ExecuteInsertTable()
        {
            using (var form = new HtmlEditorTableNewForm())
            {
                form.ExternalInformationProvider = Configuration == null
                    ? null
                    : Configuration.ExternalInformationProvider;

                if (form.ShowDialog(FindForm()) == DialogResult.OK)
                {
                    InsertHtmlAtCurrentSelection(form.Html);
                }
            }
        }
Beispiel #3
0
        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());
                }
            }
        }