Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / TabControlCancelEvent.cs / 1305376 / TabControlCancelEvent.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 TabControlCancelEventArgs : CancelEventArgs {
private TabPage tabPage;
private int tabPageIndex;
private TabControlAction action;
///
public TabControlCancelEventArgs(TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action)
: base(cancel) {
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SchemaDeclBase.cs
- PackageRelationshipSelector.cs
- _NetRes.cs
- ListItemCollection.cs
- ArraySet.cs
- CodeConditionStatement.cs
- PointCollectionValueSerializer.cs
- GridViewEditEventArgs.cs
- XmlNotation.cs
- CodeAccessSecurityEngine.cs
- RichTextBox.cs
- TcpClientSocketManager.cs
- LocalizationParserHooks.cs
- RemotingException.cs
- Baml6Assembly.cs
- RijndaelManaged.cs
- SecureUICommand.cs
- ConfigurationSection.cs
- reliableinputsessionchannel.cs
- SpecularMaterial.cs
- LocationUpdates.cs
- IntegerFacetDescriptionElement.cs
- KeySpline.cs
- TrustLevelCollection.cs
- Scheduler.cs
- DockingAttribute.cs
- UTF32Encoding.cs
- PngBitmapDecoder.cs
- TabItemWrapperAutomationPeer.cs
- FunctionMappingTranslator.cs
- HttpHandlersSection.cs
- ForeignConstraint.cs
- RelationshipNavigation.cs
- InstanceLockTracking.cs
- ClickablePoint.cs
- HtmlInputImage.cs
- SimpleWebHandlerParser.cs
- basecomparevalidator.cs
- SizeF.cs
- IfAction.cs
- VideoDrawing.cs
- HtmlHistory.cs
- XmlCharCheckingReader.cs
- DataGridViewRowsRemovedEventArgs.cs
- WebPartPersonalization.cs
- ThicknessKeyFrameCollection.cs
- Material.cs
- SQLInt32Storage.cs
- OutputCacheModule.cs
- SqlNotificationEventArgs.cs
- TreeView.cs
- ConfigXmlComment.cs
- Stroke2.cs
- ExpressionParser.cs
- OneOfElement.cs
- ConfigXmlCDataSection.cs
- CustomWebEventKey.cs
- SoapRpcServiceAttribute.cs
- SvcMapFile.cs
- GridViewDeleteEventArgs.cs
- ProfileGroupSettings.cs
- TemplateColumn.cs
- MetadataPropertyCollection.cs
- XmlNamedNodeMap.cs
- IpcClientManager.cs
- SynchronizationContext.cs
- OutputCacheProfileCollection.cs
- NotifyParentPropertyAttribute.cs
- PeerToPeerException.cs
- ObjectReferenceStack.cs
- CLSCompliantAttribute.cs
- PageHandlerFactory.cs
- EntityViewGenerationConstants.cs
- EntityTransaction.cs
- X509SecurityToken.cs
- Switch.cs
- DeviceContext.cs
- ProjectionPlan.cs
- TransformGroup.cs
- DockAndAnchorLayout.cs
- PrinterSettings.cs
- Part.cs
- BitmapFrameDecode.cs
- FocusManager.cs
- StandardToolWindows.cs
- DodSequenceMerge.cs
- ErrorTableItemStyle.cs
- LocalTransaction.cs
- RowBinding.cs
- RecognizedPhrase.cs
- ProviderConnectionPoint.cs
- PointCollection.cs
- InternalDuplexChannelListener.cs
- RoleManagerEventArgs.cs
- VariableQuery.cs
- AmbientLight.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- CheckBoxField.cs
- ClipboardData.cs
- XmlSchemaChoice.cs