Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / TabControlEvent.cs / 1305376 / 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
- EntityContainerEmitter.cs
- AuthenticationException.cs
- CodeDirectiveCollection.cs
- PropertyCollection.cs
- SkinBuilder.cs
- QueueProcessor.cs
- DeviceContext2.cs
- VirtualizingPanel.cs
- Visitors.cs
- ObjectMemberMapping.cs
- MemberInfoSerializationHolder.cs
- ChildTable.cs
- BatchWriter.cs
- IntSecurity.cs
- ISAPIApplicationHost.cs
- WebControl.cs
- ButtonBase.cs
- ReaderContextStackData.cs
- ExpanderAutomationPeer.cs
- XmlAggregates.cs
- IgnoreSection.cs
- CodeCatchClauseCollection.cs
- _AcceptOverlappedAsyncResult.cs
- MissingSatelliteAssemblyException.cs
- SectionRecord.cs
- FixedSOMElement.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- EntityDataSourceDesignerHelper.cs
- WebInvokeAttribute.cs
- LambdaCompiler.Statements.cs
- StringWriter.cs
- NetworkStream.cs
- FolderLevelBuildProviderCollection.cs
- CapabilitiesUse.cs
- IndexerNameAttribute.cs
- Helper.cs
- CollectionChangeEventArgs.cs
- LeafCellTreeNode.cs
- PerspectiveCamera.cs
- CodeTypeDeclaration.cs
- PrintController.cs
- WinEventTracker.cs
- AuthenticationService.cs
- FunctionParameter.cs
- Header.cs
- SHA384Managed.cs
- TextServicesManager.cs
- InstanceDescriptor.cs
- XmlUtil.cs
- RijndaelManagedTransform.cs
- ProcessHostMapPath.cs
- GeneralTransform2DTo3D.cs
- ServiceContractListItem.cs
- CodeObjectCreateExpression.cs
- SchemaObjectWriter.cs
- CodeDOMProvider.cs
- CheckableControlBaseAdapter.cs
- SqlTypeConverter.cs
- ClrPerspective.cs
- PrintingPermission.cs
- SchemaEntity.cs
- Binding.cs
- Grid.cs
- NetTcpBindingCollectionElement.cs
- QuaternionKeyFrameCollection.cs
- ComponentDispatcher.cs
- EventItfInfo.cs
- ListItem.cs
- StoreContentChangedEventArgs.cs
- FusionWrap.cs
- COM2ColorConverter.cs
- RelationalExpressions.cs
- ProcessProtocolHandler.cs
- CmsInterop.cs
- InvalidDataException.cs
- WebDisplayNameAttribute.cs
- MonikerBuilder.cs
- WebPartRestoreVerb.cs
- DataBindingCollection.cs
- XmlSchemaComplexContentRestriction.cs
- StandardBindingReliableSessionElement.cs
- ImportCatalogPart.cs
- TimerElapsedEvenArgs.cs
- Aes.cs
- DataGridViewTextBoxCell.cs
- UnsafeNativeMethods.cs
- EnumerableRowCollectionExtensions.cs
- SafeRightsManagementEnvironmentHandle.cs
- MessageQueueAccessControlEntry.cs
- TypeDependencyAttribute.cs
- XmlFormatExtensionAttribute.cs
- SafeHandle.cs
- StringExpressionSet.cs
- SqlInternalConnection.cs
- PeerApplicationLaunchInfo.cs
- XmlDataSourceView.cs
- TextServicesContext.cs
- TextBoxView.cs
- ServiceOperation.cs
- X509Certificate2.cs