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
- TargetControlTypeCache.cs
- ZoneMembershipCondition.cs
- ObjectStateManagerMetadata.cs
- MetadataArtifactLoader.cs
- EncoderReplacementFallback.cs
- XmlConvert.cs
- ServiceOperationDetailViewControl.cs
- ConstantCheck.cs
- InstanceNotFoundException.cs
- KeyEvent.cs
- ImageClickEventArgs.cs
- ContentIterators.cs
- InterleavedZipPartStream.cs
- FeatureSupport.cs
- OciHandle.cs
- BuildManagerHost.cs
- ColorTranslator.cs
- FamilyMapCollection.cs
- WrappedDispatcherException.cs
- CodeDOMUtility.cs
- BufferModeSettings.cs
- OdbcUtils.cs
- PageTheme.cs
- CommandExpr.cs
- XmlHierarchicalEnumerable.cs
- Oid.cs
- ToolZone.cs
- HighlightComponent.cs
- BufferBuilder.cs
- PartitionedStreamMerger.cs
- WSHttpBindingElement.cs
- RegexStringValidator.cs
- WmlCalendarAdapter.cs
- TextPointerBase.cs
- TimeoutHelper.cs
- DocumentSequenceHighlightLayer.cs
- CodeDomLocalizationProvider.cs
- StorageSetMapping.cs
- Int16Animation.cs
- ArgumentValidation.cs
- InfoCardTrace.cs
- Int32Converter.cs
- StringCollection.cs
- ReleaseInstanceMode.cs
- CheckBoxRenderer.cs
- ContractValidationHelper.cs
- TransactionTable.cs
- LineUtil.cs
- ServerValidateEventArgs.cs
- MasterPage.cs
- MessageEventSubscriptionService.cs
- CompilerScope.Storage.cs
- CollectionBuilder.cs
- StatusStrip.cs
- RadioButtonStandardAdapter.cs
- JapaneseLunisolarCalendar.cs
- BasePattern.cs
- DecodeHelper.cs
- DataContractSerializer.cs
- ConstraintStruct.cs
- SqlWorkflowPersistenceService.cs
- XmlSiteMapProvider.cs
- ServiceOperationParameter.cs
- PermissionRequestEvidence.cs
- DeviceContext2.cs
- XslCompiledTransform.cs
- IisTraceListener.cs
- SemaphoreSecurity.cs
- HMACRIPEMD160.cs
- DynamicRendererThreadManager.cs
- OdbcDataReader.cs
- Resources.Designer.cs
- GridView.cs
- RegistryPermission.cs
- SchemaCollectionCompiler.cs
- UInt32Storage.cs
- SingleConverter.cs
- CodeIdentifier.cs
- FocusTracker.cs
- GlyphCache.cs
- Clock.cs
- ValidatorCompatibilityHelper.cs
- UIElementParagraph.cs
- Part.cs
- ParallelSeparator.xaml.cs
- Zone.cs
- FunctionQuery.cs
- ThrowHelper.cs
- OrderedDictionary.cs
- CompoundFileStreamReference.cs
- Attribute.cs
- ListBoxItemAutomationPeer.cs
- ReadOnlyHierarchicalDataSourceView.cs
- StaticExtensionConverter.cs
- XmlSchemaInfo.cs
- ScrollChrome.cs
- SingleTagSectionHandler.cs
- Base64Encoder.cs
- ValidationResult.cs
- StubHelpers.cs