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
- FormViewUpdatedEventArgs.cs
- ExpressionBuilderContext.cs
- NetworkInformationException.cs
- FillBehavior.cs
- ColorContext.cs
- FieldMetadata.cs
- ThrowHelper.cs
- Update.cs
- FileDialogCustomPlace.cs
- IBuiltInEvidence.cs
- PersonalizationProviderHelper.cs
- GroupItemAutomationPeer.cs
- ExpressionBuilder.cs
- Simplifier.cs
- WSFederationHttpSecurityElement.cs
- SizeAnimationClockResource.cs
- PolicyVersion.cs
- AdapterDictionary.cs
- StorageRoot.cs
- ServiceHttpModule.cs
- RegistryDataKey.cs
- MasterPageCodeDomTreeGenerator.cs
- DataControlReference.cs
- SiblingIterators.cs
- Viewport3DVisual.cs
- ContextMarshalException.cs
- grammarelement.cs
- Size3D.cs
- TextDecoration.cs
- columnmapfactory.cs
- SecurityUtils.cs
- WebControlsSection.cs
- SocketCache.cs
- StickyNoteContentControl.cs
- ThreadAttributes.cs
- TypedTableBase.cs
- LogicalExpressionEditor.cs
- WebPartsSection.cs
- ListViewPagedDataSource.cs
- XmlWrappingReader.cs
- SqlMultiplexer.cs
- DrawListViewSubItemEventArgs.cs
- Html32TextWriter.cs
- PenCursorManager.cs
- EmptyCollection.cs
- HttpListenerRequest.cs
- LabelLiteral.cs
- BamlLocalizableResource.cs
- FixedTextView.cs
- ObjectDataSourceMethodEditor.cs
- iisPickupDirectory.cs
- TagPrefixCollection.cs
- RsaKeyGen.cs
- WindowsComboBox.cs
- TableRow.cs
- PrintControllerWithStatusDialog.cs
- ArrangedElement.cs
- ConversionContext.cs
- MobileControlsSectionHelper.cs
- GroupBoxRenderer.cs
- COM2FontConverter.cs
- UxThemeWrapper.cs
- OpenTypeCommon.cs
- ConfigurationSettings.cs
- SqlCharStream.cs
- MimePart.cs
- ConfigurationStrings.cs
- SafeMemoryMappedViewHandle.cs
- DataRecordInfo.cs
- ProtocolsConfiguration.cs
- _OverlappedAsyncResult.cs
- BlockUIContainer.cs
- OperationCanceledException.cs
- Utils.cs
- BindingMAnagerBase.cs
- ColorAnimation.cs
- Util.cs
- DataTableMapping.cs
- ObjectManager.cs
- SystemIcons.cs
- PhysicalAddress.cs
- TypeUtils.cs
- ProfileModule.cs
- ArgumentException.cs
- UITypeEditor.cs
- BrushMappingModeValidation.cs
- ReversePositionQuery.cs
- UiaCoreApi.cs
- TreeNodeConverter.cs
- Viewport3DAutomationPeer.cs
- Comparer.cs
- OdbcConnectionPoolProviderInfo.cs
- ButtonBaseAdapter.cs
- ColorComboBox.cs
- PrintDialogException.cs
- Content.cs
- AutomationAttributeInfo.cs
- UnsafeNativeMethods.cs
- DBSqlParserTable.cs
- VariableExpressionConverter.cs