Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DynamicPropertyReader.cs
- ScrollChrome.cs
- ToggleButtonAutomationPeer.cs
- TextTreeUndo.cs
- RootBuilder.cs
- Calendar.cs
- ImageCodecInfo.cs
- XmlJsonReader.cs
- DomNameTable.cs
- XmlIlGenerator.cs
- QueryCacheManager.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- ViewPort3D.cs
- StyleBamlTreeBuilder.cs
- DocumentPageViewAutomationPeer.cs
- FileSystemWatcher.cs
- TableItemPattern.cs
- Transform3DGroup.cs
- Error.cs
- SelfSignedCertificate.cs
- Brush.cs
- TransformerConfigurationWizardBase.cs
- DbProviderConfigurationHandler.cs
- TreeNodeClickEventArgs.cs
- StorageMappingItemCollection.cs
- SizeValueSerializer.cs
- HMAC.cs
- SpnegoTokenAuthenticator.cs
- StylusPointPropertyInfo.cs
- ContentTypeSettingClientMessageFormatter.cs
- TransactedReceiveData.cs
- HtmlTableCell.cs
- WebPartAddingEventArgs.cs
- XmlSchemaSimpleType.cs
- EtwTrackingBehaviorElement.cs
- InvalidBodyAccessException.cs
- WindowsEditBoxRange.cs
- TreeViewItemAutomationPeer.cs
- ActivationServices.cs
- XmlSignificantWhitespace.cs
- DataView.cs
- SafeProcessHandle.cs
- HtmlForm.cs
- ValueProviderWrapper.cs
- ToolStripDropDownItem.cs
- SessionPageStatePersister.cs
- TextProviderWrapper.cs
- ScrollChrome.cs
- DataGridViewTopLeftHeaderCell.cs
- RawStylusInputCustomData.cs
- xmlfixedPageInfo.cs
- MouseGestureConverter.cs
- BrowserCapabilitiesFactoryBase.cs
- BitmapMetadataBlob.cs
- FixedTextSelectionProcessor.cs
- ScaleTransform3D.cs
- TreeViewEvent.cs
- TextControl.cs
- WinInetCache.cs
- QueryOutputWriter.cs
- DataGridCellsPresenter.cs
- HeaderedItemsControl.cs
- D3DImage.cs
- InvariantComparer.cs
- BamlLocalizabilityResolver.cs
- Attributes.cs
- KeyGestureValueSerializer.cs
- FontInfo.cs
- HttpWebResponse.cs
- StorageRoot.cs
- FormsAuthenticationModule.cs
- ChannelBase.cs
- ACE.cs
- DataGridViewLinkColumn.cs
- ResourceManager.cs
- SqlMethodTransformer.cs
- SqlMethodAttribute.cs
- HandleRef.cs
- MemberPath.cs
- MapPathBasedVirtualPathProvider.cs
- TransformGroup.cs
- ButtonBaseAutomationPeer.cs
- DatagridviewDisplayedBandsData.cs
- HandlerBase.cs
- ClientOptions.cs
- WindowPattern.cs
- InfoCardMetadataExchangeClient.cs
- _NestedSingleAsyncResult.cs
- ProtectedConfigurationSection.cs
- MD5CryptoServiceProvider.cs
- Symbol.cs
- CodeTypeParameter.cs
- securitycriticaldataClass.cs
- NativeMethodsOther.cs
- sitestring.cs
- SmiRecordBuffer.cs
- COM2PropertyDescriptor.cs
- IPeerNeighbor.cs
- ToolStripDropDownItemDesigner.cs
- XmlObjectSerializer.cs