コード例 #1
0
 protected virtual void OnTableSizeSelected(TableSizeEventArgs e)
 {
     if (!TableSizeSelected.IsNull())
     {
         TableSizeSelected(this, e);
     }
 }
コード例 #2
0
 private void control_TableSizeSelected(object sender, TableSizeEventArgs e)
 {
     this.Close(ToolStripDropDownCloseReason.CloseCalled);
 }
コード例 #3
0
ファイル: HtmlEditor.cs プロジェクト: tewuapple/WinHtmlEditor
        } //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);
        }
コード例 #4
0
 private void control_TableSizeSelected(object sender, TableSizeEventArgs e)
 {
     this.Close(ToolStripDropDownCloseReason.CloseCalled);
 }
コード例 #5
0
 protected virtual void OnTableSizeSelected(TableSizeEventArgs e)
 {
     if (!TableSizeSelected.IsNull())
         TableSizeSelected(this, e);
 }