Esempio n. 1
0
        public void ExecuteTableCellProperties()
        {
            var cells = CurrentSelectionTableCells;

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

                    form.Initialize(cells);
                    form.ShowDialog(FindForm());
                }
            }
        }
Esempio n. 2
0
        public void ExecuteTableRowProperties()
        {
            var row = CurrentSelectionTableRow;

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

                    form.Initialize(row);
                    form.ShowDialog(FindForm());
                }
            }
        }
Esempio n. 3
0
        public void ExecuteTableColumnProperties()
        {
            var table       = CurrentSelectionTable as IHTMLTable;
            var columnIndex = CurrentSelectionTableColumnIndex;

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

                    form.Initialize(table, columnIndex);
                    form.ShowDialog(FindForm());
                }
            }
        }
        public void ExecuteTableRowProperties()
        {
            var row = CurrentSelectionTableRow;

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

                    form.Initialize(row);
                    form.ShowDialog(FindForm());
                }
            }
        }
        public void ExecuteTableColumnProperties()
        {
            var table = CurrentSelectionTable as IHTMLTable;
            var columnIndex = CurrentSelectionTableColumnIndex;

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

                    form.Initialize(table, columnIndex);
                    form.ShowDialog(FindForm());
                }
            }
        }
        public void ExecuteTableCellProperties()
        {
            var cells = CurrentSelectionTableCells;

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

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