Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / TabControlEvent.cs / 1 / TabControlEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// public class TabControlEventArgs : EventArgs { private TabPage tabPage; private int tabPageIndex; private TabControlAction action; ///Provides data for the ///, /// event. /// /// public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; } ////// Initializes a new instance of the ///class. /// /// /// /// public TabPage TabPage { get { return tabPage; } } ////// Stores the referemce to the tabpage that is undergoing the TabControl event. /// /// ////// /// public int TabPageIndex { get { return tabPageIndex; } } ////// Stores the index to the tabpage that is undergoing the TabControl event. /// /// ////// /// public TabControlAction Action{ get { return action; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Stores the TabControl action which instigated the TabControl event. /// /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// public class TabControlEventArgs : EventArgs { private TabPage tabPage; private int tabPageIndex; private TabControlAction action; ///Provides data for the ///, /// event. /// /// public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; } ////// Initializes a new instance of the ///class. /// /// /// /// public TabPage TabPage { get { return tabPage; } } ////// Stores the referemce to the tabpage that is undergoing the TabControl event. /// /// ////// /// public int TabPageIndex { get { return tabPageIndex; } } ////// Stores the index to the tabpage that is undergoing the TabControl event. /// /// ////// /// public TabControlAction Action{ get { return action; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Stores the TabControl action which instigated the TabControl event. /// /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HandlerMappingMemo.cs
- Point3DCollection.cs
- HttpListenerPrefixCollection.cs
- EndpointBehaviorElement.cs
- WorkflowTransactionService.cs
- SqlDependency.cs
- CalloutQueueItem.cs
- ClientEventManager.cs
- PageVisual.cs
- HttpCacheParams.cs
- FontStyles.cs
- DataServiceRequestException.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- DetailsView.cs
- FileLogRecordStream.cs
- TextElementEnumerator.cs
- FacetChecker.cs
- _ConnectOverlappedAsyncResult.cs
- TextEditorMouse.cs
- FlowPosition.cs
- LightweightCodeGenerator.cs
- IPHostEntry.cs
- DelegatingStream.cs
- EventMap.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- SQLGuidStorage.cs
- _ListenerRequestStream.cs
- DataSetUtil.cs
- TextTreeRootTextBlock.cs
- EventSource.cs
- XmlWriterSettings.cs
- WeakRefEnumerator.cs
- ArrayList.cs
- _BaseOverlappedAsyncResult.cs
- MappingSource.cs
- KeyConstraint.cs
- ConnectionPointCookie.cs
- LoginUtil.cs
- SyncMethodInvoker.cs
- Substitution.cs
- DesignTimeVisibleAttribute.cs
- ThemeConfigurationDialog.cs
- Trace.cs
- FontEditor.cs
- Int64Storage.cs
- QueryAccessibilityHelpEvent.cs
- GenericWebPart.cs
- InertiaExpansionBehavior.cs
- DataGridPageChangedEventArgs.cs
- DockProviderWrapper.cs
- NumericUpDown.cs
- CodeSubDirectoriesCollection.cs
- DynamicResourceExtensionConverter.cs
- XamlWrapperReaders.cs
- DbDataAdapter.cs
- DebuggerService.cs
- UnsafeNativeMethodsTablet.cs
- PrinterUnitConvert.cs
- DataGridViewCellPaintingEventArgs.cs
- OlePropertyStructs.cs
- WriterOutput.cs
- BindableAttribute.cs
- ToolBarOverflowPanel.cs
- OleServicesContext.cs
- RepeatInfo.cs
- _OSSOCK.cs
- httpstaticobjectscollection.cs
- WinEventWrap.cs
- OdbcConnection.cs
- PackUriHelper.cs
- Pen.cs
- ScriptingWebServicesSectionGroup.cs
- DbFunctionCommandTree.cs
- Funcletizer.cs
- AsymmetricKeyExchangeFormatter.cs
- NotCondition.cs
- UndoUnit.cs
- ListSurrogate.cs
- IntSumAggregationOperator.cs
- ChangeNode.cs
- AsymmetricKeyExchangeDeformatter.cs
- WebPartTracker.cs
- PagesSection.cs
- TraceHwndHost.cs
- ObjectDataSourceStatusEventArgs.cs
- ObsoleteAttribute.cs
- DataGridRow.cs
- UnknownWrapper.cs
- CellRelation.cs
- ToolboxItem.cs
- FillBehavior.cs
- GifBitmapDecoder.cs
- WebPartDisplayModeCollection.cs
- PageFunction.cs
- StylusDevice.cs
- TabItemWrapperAutomationPeer.cs
- FieldAccessException.cs
- ImageMetadata.cs
- SID.cs
- EventEntry.cs