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
- GridViewSortEventArgs.cs
- regiisutil.cs
- AnnotationResource.cs
- EntityViewContainer.cs
- SqlWriter.cs
- Panel.cs
- SectionUpdates.cs
- EntityModelBuildProvider.cs
- TransactionFormatter.cs
- XmlSchemaDocumentation.cs
- Invariant.cs
- ColumnWidthChangedEvent.cs
- IdentitySection.cs
- BooleanKeyFrameCollection.cs
- MSHTMLHostUtil.cs
- Psha1DerivedKeyGeneratorHelper.cs
- XmlNodeWriter.cs
- XslCompiledTransform.cs
- RijndaelCryptoServiceProvider.cs
- BaseParagraph.cs
- GenericUriParser.cs
- GridSplitter.cs
- DbMetaDataColumnNames.cs
- ConfigurationSectionGroup.cs
- Vector3DCollection.cs
- DataErrorValidationRule.cs
- CustomLineCap.cs
- SignatureDescription.cs
- TypeDescriptionProvider.cs
- TextElementCollectionHelper.cs
- ItemsChangedEventArgs.cs
- WindowsRegion.cs
- LinkDescriptor.cs
- RegexBoyerMoore.cs
- SchemaNotation.cs
- LineBreakRecord.cs
- Transform.cs
- SurrogateDataContract.cs
- AssociationTypeEmitter.cs
- EventManager.cs
- PassportAuthentication.cs
- OleDbException.cs
- HtmlAnchor.cs
- TextServicesCompartmentContext.cs
- ConfigUtil.cs
- EventMetadata.cs
- ContentElementCollection.cs
- UTF7Encoding.cs
- LinkedList.cs
- DataGridItemAutomationPeer.cs
- Expander.cs
- DocumentAutomationPeer.cs
- TypeConverterValueSerializer.cs
- Type.cs
- SoundPlayerAction.cs
- ConfigXmlElement.cs
- ObjectDisposedException.cs
- RegexWriter.cs
- EventLogPermissionEntryCollection.cs
- CssTextWriter.cs
- CodeDOMProvider.cs
- ServiceReference.cs
- Utility.cs
- MatrixIndependentAnimationStorage.cs
- DynamicEndpointElement.cs
- MaterialCollection.cs
- InvalidCastException.cs
- ExternalFile.cs
- SqlDataSourceFilteringEventArgs.cs
- TrackBarRenderer.cs
- OracleBFile.cs
- ViewManagerAttribute.cs
- CodePropertyReferenceExpression.cs
- AssemblyUtil.cs
- Internal.cs
- BitVec.cs
- EpmHelper.cs
- ErrorHandler.cs
- ApplicationServicesHostFactory.cs
- CodeArrayCreateExpression.cs
- EditorZoneBase.cs
- Util.cs
- GradientStop.cs
- ExtensionSurface.cs
- ItemCheckEvent.cs
- TextRangeEdit.cs
- LayoutEngine.cs
- ExpressionVisitor.cs
- RequiredFieldValidator.cs
- InputProcessorProfiles.cs
- PriorityBindingExpression.cs
- DocumentPaginator.cs
- ResolveCriteriaApril2005.cs
- SplitterCancelEvent.cs
- CodeExpressionCollection.cs
- DataGridColumnCollection.cs
- MatrixTransform.cs
- DispatcherExceptionEventArgs.cs
- MethodBuilder.cs
- Keyboard.cs