/// <summary>
        /// Executes the table properties.
        /// </summary>
        public void ExecuteTableProperties()
        {
            var table = CurrentSelectionTable as IHTMLTable;

            if (table != null)
            {
                using (var form = new HtmlEditorTableNewForm())
                {
                    form.ExternalInformationProvider = ExternalInformationProvider;

                    form.Table = table;
                    form.ShowDialog(FindForm());
                }
            }
        }
        public void ExecuteInsertTable()
        {
            using (var form = new HtmlEditorTableNewForm())
            {
                form.ExternalInformationProvider = ExternalInformationProvider;

                if (form.ShowDialog(FindForm()) == DialogResult.OK)
                {
                    InsertHtmlAtCurrentSelection(form.Html);
                }
            }
        }