Esempio n. 1
0
 protected virtual void OnTableSizeSelected(TableSizeEventArgs e)
 {
     if (!TableSizeSelected.IsNull())
     {
         TableSizeSelected(this, e);
     }
 }
 private void control_TableSizeSelected(object sender, TableSizeEventArgs e)
 {
     this.Close(ToolStripDropDownCloseReason.CloseCalled);
 }
Esempio n. 3
0
        } //DocumentKeyPress

        private void Selector_TableSizeSelected(object sender, TableSizeEventArgs e)
        {
            // if user has selected a table create a reference
            var table = GetFirstControl() as mshtmlTable;

            // define the base set of table properties
            HtmlTableProperty tableProperties = GetTableProperties(table);
            tableProperties.TableRows =(byte)e.SelectedSize.Height;
            tableProperties.TableColumns = (byte)e.SelectedSize.Width;
            if (table.IsNull()) TableInsert(tableProperties);
            else ProcessTable(table, tableProperties);
        }
 private void control_TableSizeSelected(object sender, TableSizeEventArgs e)
 {
     this.Close(ToolStripDropDownCloseReason.CloseCalled);
 }
 protected virtual void OnTableSizeSelected(TableSizeEventArgs e)
 {
     if (!TableSizeSelected.IsNull())
         TableSizeSelected(this, e);
 }