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
- SQLChars.cs
- ObjectStateFormatter.cs
- CollectionType.cs
- SelectionEditingBehavior.cs
- Viewport2DVisual3D.cs
- CredentialCache.cs
- ParserExtension.cs
- DesignerDataRelationship.cs
- SchemaImporterExtensionsSection.cs
- SpanIndex.cs
- ToolStripItemClickedEventArgs.cs
- PreviewKeyDownEventArgs.cs
- StringFreezingAttribute.cs
- securitycriticaldata.cs
- WindowsFormsLinkLabel.cs
- SafeArrayTypeMismatchException.cs
- DSASignatureDeformatter.cs
- CodeNamespaceImportCollection.cs
- DBSqlParserColumnCollection.cs
- TableLayoutPanelCellPosition.cs
- CustomErrorsSection.cs
- MenuItem.cs
- SmtpReplyReader.cs
- ObjectComplexPropertyMapping.cs
- TextSpanModifier.cs
- NavigationWindow.cs
- UrlRoutingModule.cs
- TTSVoice.cs
- XpsSerializationException.cs
- HashMembershipCondition.cs
- ProcessModelSection.cs
- ChannelToken.cs
- DirectoryNotFoundException.cs
- XmlSchemaExporter.cs
- ListInitExpression.cs
- TextTreeUndo.cs
- ModelVisual3D.cs
- SapiInterop.cs
- ScaleTransform3D.cs
- baseshape.cs
- WindowsImpersonationContext.cs
- RulePatternOps.cs
- LocatorPart.cs
- ProfileSettingsCollection.cs
- DataSetUtil.cs
- StylusButton.cs
- CannotUnloadAppDomainException.cs
- NaturalLanguageHyphenator.cs
- GB18030Encoding.cs
- FixedSOMElement.cs
- ErrorWebPart.cs
- SwitchElementsCollection.cs
- FastEncoder.cs
- EntityDataSourceChangingEventArgs.cs
- XamlWriter.cs
- ServicePointManager.cs
- Win32KeyboardDevice.cs
- RawContentTypeMapper.cs
- WebPartConnectionCollection.cs
- RequestQueryParser.cs
- WindowsBrush.cs
- GeneralTransform3DTo2D.cs
- DataServiceProcessingPipeline.cs
- XmlDictionaryWriter.cs
- DictionaryKeyPropertyAttribute.cs
- TextTreeRootTextBlock.cs
- ClosableStream.cs
- JsonFormatGeneratorStatics.cs
- InternalBufferOverflowException.cs
- SecondaryIndex.cs
- MenuTracker.cs
- SerializerDescriptor.cs
- ObjectListGeneralPage.cs
- UTF32Encoding.cs
- BindingValueChangedEventArgs.cs
- StateFinalizationActivity.cs
- NewExpression.cs
- PolicyStatement.cs
- TableSectionStyle.cs
- TcpConnectionPool.cs
- SerializationObjectManager.cs
- WebPartConnectionCollection.cs
- LicenseContext.cs
- DataGridRelationshipRow.cs
- NetworkStream.cs
- DataPointer.cs
- Line.cs
- SqlBulkCopyColumnMappingCollection.cs
- MultilineStringConverter.cs
- BindStream.cs
- filewebresponse.cs
- QuaternionConverter.cs
- PhonemeEventArgs.cs
- XamlFigureLengthSerializer.cs
- CellPartitioner.cs
- EpmSyndicationContentSerializer.cs
- ReadOnlyHierarchicalDataSourceView.cs
- WebPartManager.cs
- BrushMappingModeValidation.cs
- DataDocumentXPathNavigator.cs