public TabControlCancelEventArgs (TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) : base (cancel) { this.tab_page = tabPage; this.tab_page_index = tabPageIndex; this.action = action; }
public TabControlCancelEventArgs(TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) : base(cancel) { this.tab_page = tabPage; this.tab_page_index = tabPageIndex; this.action = action; }
public TabStripPanelCancelEventArgs( TabPanel tabPanel, int tabPanelIndex, bool cancel, TabControlAction action) { this.tabPanel = tabPanel; this.tabPanelIndex = tabPanelIndex; this.action = action; }
public TabControlCancelEventArgs( TabPage?tabPage, int tabPageIndex, bool cancel, TabControlAction action) : base(cancel) { TabPage = tabPage; TabPageIndex = tabPageIndex; Action = action; }
public void TestTabControlEventArgs() { TabControlAction tca = TabControlAction.Selected; TabPage tp = new TabPage("HI!"); int index = 477; TabControlEventArgs e = new TabControlEventArgs(tp, index, tca); Assert.AreEqual(tca, e.Action, "A1"); Assert.AreEqual(tp, e.TabPage, "A2"); Assert.AreEqual(index, e.TabPageIndex, "A3"); }
public void TestTabControlCancelEventArgs() { TabControlAction tca = TabControlAction.Deselecting; TabPage tp = new TabPage("HI!"); int index = 477; TabControlCancelEventArgs e = new TabControlCancelEventArgs(tp, index, true, tca); Assert.AreEqual(tca, e.Action, "A1"); Assert.AreEqual(tp, e.TabPage, "A2"); Assert.AreEqual(index, e.TabPageIndex, "A3"); Assert.AreEqual(true, e.Cancel, "A4"); }
public QTabCancelEventArgs(QTabItemBase tabPage, int tabPageIndex, bool cancel, TabControlAction action) : base(null, tabPageIndex, cancel, action) { this.tabPage = tabPage; }
/// <devdoc> /// Initializes a new instance of the <see cref='System.Windows.Forms.TabControlEventArgs'/>class. /// </devdoc> public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) { TabPage = tabPage; TabPageIndex = tabPageIndex; Action = action; }
public void Ctor_TabPage_Int_Bool_TabControlAction(TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) { var e = new TabControlCancelEventArgs(tabPage, tabPageIndex, cancel, action); Assert.Equal(tabPage, e.TabPage); Assert.Equal(tabPageIndex, e.TabPageIndex); Assert.Equal(cancel, e.Cancel); Assert.Equal(action, e.Action); }
// Methods public __TabControlCancelEventArgs(TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; }
public QTabCancelEventArgs(QTabItem tabPage, int tabPageIndex, bool cancel, TabControlAction action) : base(null, tabPageIndex, cancel, action) { this.tabPage = tabPage; }
public TabControlEventArgs(System.Windows.Forms.TabPage tabPage, int tabPageIndex, TabControlAction action) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; }
/// <include file='doc\TabControlEvent.uex' path='docs/doc[@for="TabControlEventArgs.TabControlEventArgs"]/*' /> /// <devdoc> /// <para> /// Initializes a new instance of the <see cref='System.Windows.Forms.TabControlEventArgs'/>class. /// /// </para> /// </devdoc> public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; }
public TabControlCancelEventArgs(System.Windows.Forms.TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) : base(cancel) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; }
public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) : base() { this.tab_page = tabPage; this.tab_page_index = tabPageIndex; this.action = action; }
// Methods public __TabControlCancelEventArgs(TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; }
// Constructors public TabControlCancelEventArgs(TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) { }
public void Ctor_TabPage_Int_TabControlAction(TabPage tabPage, int tabPageIndex, TabControlAction action) { var e = new TabControlEventArgs(tabPage, tabPageIndex, action); Assert.Equal(tabPage, e.TabPage); Assert.Equal(tabPageIndex, e.TabPageIndex); Assert.Equal(action, e.Action); }
public TitleBarTabCancelEventArgs(TabControlAction action, TitleBarTab tab, int tabIndex) { Action = action; Tab = tab; TabIndex = tabIndex; }
public TabControlCancelEventArgs(TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) { throw null; }
// Constructors public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) { }
// Constructors public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) { }
public TabControlEventArgs(System.Windows.Forms.TabPage tabPage, int tabPageIndex, TabControlAction action) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; }
public TabControlCancelEventArgs(System.Windows.Forms.TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) : base(cancel) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; }