Code:
/ DotNET / DotNET / 8.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
- WSSecurityPolicy11.cs
- TypedReference.cs
- Drawing.cs
- MessagePropertyDescriptionCollection.cs
- WebBrowserBase.cs
- WorkflowTransactionOptions.cs
- pingexception.cs
- SslStream.cs
- TextEditorParagraphs.cs
- SerializerWriterEventHandlers.cs
- RootDesignerSerializerAttribute.cs
- BitmapScalingModeValidation.cs
- UnsafeNativeMethodsCLR.cs
- TriggerCollection.cs
- ScrollChrome.cs
- TdsParameterSetter.cs
- AdapterUtil.cs
- BinaryWriter.cs
- StringReader.cs
- ListViewDeletedEventArgs.cs
- WebPartDisplayMode.cs
- RoleBoolean.cs
- DecimalConstantAttribute.cs
- DataException.cs
- HelpFileFileNameEditor.cs
- TextModifier.cs
- ObjectNotFoundException.cs
- Configuration.cs
- XmlSignificantWhitespace.cs
- CurrentChangedEventManager.cs
- QilVisitor.cs
- CompModSwitches.cs
- VerbConverter.cs
- PeerNameResolver.cs
- SiteIdentityPermission.cs
- MethodAccessException.cs
- WebPartDisplayMode.cs
- Maps.cs
- SchemaImporterExtensionElement.cs
- TextBox.cs
- ChtmlImageAdapter.cs
- NetworkStream.cs
- AxisAngleRotation3D.cs
- FactoryRecord.cs
- ResourceDescriptionAttribute.cs
- SecurityUtils.cs
- ValidatorCollection.cs
- HierarchicalDataTemplate.cs
- Axis.cs
- CharAnimationBase.cs
- TempFiles.cs
- ReflectionUtil.cs
- QilScopedVisitor.cs
- IListConverters.cs
- DependencyObject.cs
- ConstructorBuilder.cs
- PropertyGeneratedEventArgs.cs
- StringValidatorAttribute.cs
- TreeView.cs
- Debug.cs
- Visual3DCollection.cs
- BasicHttpMessageCredentialType.cs
- FormsAuthenticationUser.cs
- TextSerializer.cs
- GenericAuthenticationEventArgs.cs
- MimeMapping.cs
- DbParameterCollectionHelper.cs
- HandlerFactoryCache.cs
- IResourceProvider.cs
- DeflateStreamAsyncResult.cs
- IISMapPath.cs
- StandardToolWindows.cs
- updateconfighost.cs
- CngKeyBlobFormat.cs
- ViewStateAttachedPropertyFeature.cs
- RequestQueryParser.cs
- EmptyEnumerable.cs
- HtmlLinkAdapter.cs
- TimersDescriptionAttribute.cs
- MatrixUtil.cs
- MsmqIntegrationReceiveParameters.cs
- XmlSchemaSequence.cs
- CapiNative.cs
- TimeSpanConverter.cs
- OracleTimeSpan.cs
- TripleDESCryptoServiceProvider.cs
- NGCSerializationManagerAsync.cs
- BasicExpressionVisitor.cs
- ContainerCodeDomSerializer.cs
- RewritingValidator.cs
- CompositeActivityTypeDescriptorProvider.cs
- Label.cs
- DesignerActionItem.cs
- SecurityUtils.cs
- Splitter.cs
- EdmProperty.cs
- OpenFileDialog.cs
- SystemException.cs
- QilXmlReader.cs
- ResetableIterator.cs