Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / TabControlCancelEvent.cs / 1 / 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.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- KnownBoxes.cs
- storepermissionattribute.cs
- WorkflowMarkupSerializer.cs
- StorageEntityContainerMapping.cs
- parserscommon.cs
- XsltOutput.cs
- FlowDocumentPage.cs
- MonthCalendar.cs
- Help.cs
- SqlProcedureAttribute.cs
- Axis.cs
- SimpleMailWebEventProvider.cs
- MdImport.cs
- LinearQuaternionKeyFrame.cs
- LambdaCompiler.Unary.cs
- SequenceQuery.cs
- SrgsGrammar.cs
- MouseGestureValueSerializer.cs
- TraceHandlerErrorFormatter.cs
- SimpleTypeResolver.cs
- EndPoint.cs
- MiniCustomAttributeInfo.cs
- UInt16.cs
- XPathDocumentBuilder.cs
- WorkflowWebService.cs
- TemplateKey.cs
- ModifierKeysConverter.cs
- DataBoundControl.cs
- SchemaNotation.cs
- String.cs
- XmlCDATASection.cs
- AssemblyInfo.cs
- SqlConnectionPoolGroupProviderInfo.cs
- GlyphRun.cs
- EventItfInfo.cs
- DataGridHeaderBorder.cs
- ServiceCredentialsSecurityTokenManager.cs
- JpegBitmapDecoder.cs
- CodeExpressionStatement.cs
- XPathNodePointer.cs
- SqlDataSourceSummaryPanel.cs
- RandomNumberGenerator.cs
- WindowsPen.cs
- EnumerableRowCollectionExtensions.cs
- WindowsFormsHelpers.cs
- TextParagraphCache.cs
- QuaternionAnimation.cs
- Touch.cs
- LayoutUtils.cs
- TableRow.cs
- PhysicalAddress.cs
- WindowsSspiNegotiation.cs
- ActivityValidator.cs
- PartialArray.cs
- ReaderWriterLockWrapper.cs
- SslStream.cs
- ProfileSettings.cs
- SharedUtils.cs
- HtmlInputControl.cs
- PageResolution.cs
- SqlConnectionPoolGroupProviderInfo.cs
- StylusDownEventArgs.cs
- WebCodeGenerator.cs
- TableSectionStyle.cs
- InterleavedZipPartStream.cs
- RegexNode.cs
- RawStylusInputCustomData.cs
- UnaryNode.cs
- IgnoreSectionHandler.cs
- BasicKeyConstraint.cs
- ICollection.cs
- InternalCache.cs
- WebSysDescriptionAttribute.cs
- BoundColumn.cs
- DrawingContext.cs
- ITreeGenerator.cs
- HttpResponseBase.cs
- SizeFConverter.cs
- IDictionary.cs
- DispatchWrapper.cs
- FileDetails.cs
- AnimationStorage.cs
- Matrix.cs
- CodeMemberEvent.cs
- PeerNameRecordCollection.cs
- ObjectContextServiceProvider.cs
- ParagraphResult.cs
- ToolStripSeparatorRenderEventArgs.cs
- DiscreteKeyFrames.cs
- SemanticResolver.cs
- exports.cs
- CompositeActivityMarkupSerializer.cs
- ContractNamespaceAttribute.cs
- CodeArrayCreateExpression.cs
- Lease.cs
- UInt32.cs
- ComponentCollection.cs
- Codec.cs
- TargetPerspective.cs
- RelationshipConverter.cs