예제 #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);
 }
예제 #3
0
 protected virtual void OnTableSizeSelected(TableSizeEventArgs e)
 {
     if (!TableSizeSelected.IsNull())
         TableSizeSelected(this, e);
 }
예제 #4
0
        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);
 }