Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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;
///
///
/// Provides data for the ,
/// event.
///
public class TabControlEventArgs : EventArgs {
private TabPage tabPage;
private int tabPageIndex;
private TabControlAction action;
///
///
///
/// Initializes a new instance of the class.
///
///
///
public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) {
this.tabPage = tabPage;
this.tabPageIndex = tabPageIndex;
this.action = action;
}
///
///
///
/// Stores the referemce to the tabpage that is undergoing the TabControl event.
///
///
///
public TabPage TabPage {
get {
return tabPage;
}
}
///
///
///
/// Stores the index to the tabpage that is undergoing the TabControl event.
///
///
///
public int TabPageIndex {
get {
return tabPageIndex;
}
}
///
///
///
/// Stores the TabControl action which instigated the TabControl event.
///
///
///
public TabControlAction Action{
get {
return action;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MailMessage.cs
- Point3D.cs
- Effect.cs
- DateTimeValueSerializerContext.cs
- DynamicMethod.cs
- AggregateNode.cs
- TerminatorSinks.cs
- ObjectDataSource.cs
- DataListItemEventArgs.cs
- TimeSpanValidator.cs
- Stylus.cs
- DrawToolTipEventArgs.cs
- SimpleBitVector32.cs
- UpdatePanelControlTrigger.cs
- NameNode.cs
- ProcessProtocolHandler.cs
- OdbcCommandBuilder.cs
- TdsEnums.cs
- WebPartConnectionsEventArgs.cs
- ReferencedAssembly.cs
- TransformerTypeCollection.cs
- ImageFormatConverter.cs
- FilterEventArgs.cs
- DataGridViewHeaderCell.cs
- ScriptControl.cs
- StringResourceManager.cs
- PEFileReader.cs
- XPathNavigatorReader.cs
- LinearGradientBrush.cs
- AmbientLight.cs
- StrokeRenderer.cs
- ServiceModelInstallComponent.cs
- ProcessHostConfigUtils.cs
- URLEditor.cs
- ToolboxBitmapAttribute.cs
- AnimationLayer.cs
- ObjectDataProvider.cs
- LoginUtil.cs
- FixedSOMFixedBlock.cs
- IntegerValidatorAttribute.cs
- DocumentOrderComparer.cs
- Documentation.cs
- EventMappingSettings.cs
- BufferAllocator.cs
- Brush.cs
- VScrollProperties.cs
- AssemblyAttributesGoHere.cs
- XmlTextAttribute.cs
- FlowDocumentPageViewerAutomationPeer.cs
- _ChunkParse.cs
- InheritanceAttribute.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ExpressionEditorAttribute.cs
- CodePrimitiveExpression.cs
- MembershipPasswordException.cs
- PointAnimationBase.cs
- ProcessModule.cs
- Debug.cs
- PrivateFontCollection.cs
- StringStorage.cs
- Substitution.cs
- LinearGradientBrush.cs
- _HTTPDateParse.cs
- XmlSerializer.cs
- _TimerThread.cs
- PageCopyCount.cs
- NamespaceCollection.cs
- VerificationAttribute.cs
- ComplexBindingPropertiesAttribute.cs
- ImmutableAssemblyCacheEntry.cs
- EditorPartChrome.cs
- XamlTreeBuilderBamlRecordWriter.cs
- IntellisenseTextBox.cs
- ContainsRowNumberChecker.cs
- TextEffectCollection.cs
- LineSegment.cs
- ImplicitInputBrush.cs
- TypeToken.cs
- CheckBoxBaseAdapter.cs
- TextProperties.cs
- DBAsyncResult.cs
- RegexParser.cs
- EditorBrowsableAttribute.cs
- Normalization.cs
- TextServicesCompartmentContext.cs
- EntityFrameworkVersions.cs
- NetworkInterface.cs
- Inline.cs
- ItemsPanelTemplate.cs
- DesignTable.cs
- DateTime.cs
- RuntimeConfig.cs
- SqlWorkflowInstanceStoreLock.cs
- ListViewSelectEventArgs.cs
- RegexRunnerFactory.cs
- XmlDownloadManager.cs
- PerformanceCounterPermission.cs
- SamlAttribute.cs
- PartialCachingControl.cs
- SchemaDeclBase.cs