コード例 #1
0
        /// <summary>
        /// Executes the table column properties.
        /// </summary>
        public void ExecuteTableColumnProperties()
        {
            var table = CurrentSelectionTable as IHTMLTable;
            var columnIndex = CurrentSelectionTableColumnIndex;

            if (table != null && columnIndex >= 0)
            {
                using (var form = new HtmlEditorCellPropertiesForm())
                {
                    form.ExternalInformationProvider = ExternalInformationProvider;

                    form.Initialize(table, columnIndex);
                    form.ShowDialog(FindForm());
                }
            }
        }
コード例 #2
0
        /// <summary>
        /// Executes the table row properties.
        /// </summary>
        public void ExecuteTableRowProperties()
        {
            IHTMLTableRow row = CurrentSelectionTableRow;

            if (row != null)
            {
                using (var form = new HtmlEditorCellPropertiesForm())
                {
                    form.ExternalInformationProvider = ExternalInformationProvider;

                    form.Initialize(row);
                    form.ShowDialog(FindForm());
                }
            }
        }
コード例 #3
0
        /// <summary>
        /// Executes the table cell properties.
        /// </summary>
        public void ExecuteTableCellProperties()
        {
            var cells = CurrentSelectionTableCells;

            if (cells != null && cells.Length > 0)
            {
                using (var form = new HtmlEditorCellPropertiesForm())
                {
                    form.ExternalInformationProvider = ExternalInformationProvider;

                    form.Initialize(cells);
                    form.ShowDialog(FindForm());
                }
            }
        }