Code:
/ DotNET / DotNET / 8.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; ////// /// public class TabControlCancelEventArgs : CancelEventArgs { private TabPage tabPage; private int tabPageIndex; private TabControlAction action; ////// Provides data for the ///, /// /// event. /// /// public TabControlCancelEventArgs(TabPage tabPage, int tabPageIndex, bool cancel, TabControlAction action) : base(cancel) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; } /// /// /// 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- PointAnimationBase.cs
- BinaryMethodMessage.cs
- RequestQueryProcessor.cs
- _TimerThread.cs
- SqlDataReader.cs
- EntityDataSourceViewSchema.cs
- SignatureTargetIdManager.cs
- SortQuery.cs
- SharedMemory.cs
- ObjectDataSourceMethodEventArgs.cs
- PathSegmentCollection.cs
- base64Transforms.cs
- HorizontalAlignConverter.cs
- XmlSchemaResource.cs
- LinqDataSourceHelper.cs
- WebPartCollection.cs
- RawStylusInput.cs
- UidManager.cs
- ObjectStateManagerMetadata.cs
- ProfessionalColorTable.cs
- SafeIUnknown.cs
- SerializationObjectManager.cs
- TextStore.cs
- GradientPanel.cs
- DynamicField.cs
- XmlSchemaDocumentation.cs
- InputLanguageProfileNotifySink.cs
- CommentAction.cs
- GatewayDefinition.cs
- NavigationWindowAutomationPeer.cs
- TargetConverter.cs
- SymmetricAlgorithm.cs
- MbpInfo.cs
- ContractMethodInfo.cs
- OleDbStruct.cs
- SqlConnectionHelper.cs
- dbdatarecord.cs
- InfoCardSchemas.cs
- AsymmetricSignatureFormatter.cs
- FileCodeGroup.cs
- TcpTransportSecurity.cs
- ParseNumbers.cs
- TypeNameConverter.cs
- EventManager.cs
- CursorConverter.cs
- MessageHeaderAttribute.cs
- PageContentCollection.cs
- SoundPlayer.cs
- NoClickablePointException.cs
- RegexCompilationInfo.cs
- FontWeights.cs
- XPathCompileException.cs
- FieldDescriptor.cs
- ResizeGrip.cs
- QilDataSource.cs
- DataGridViewCheckBoxCell.cs
- ByteStreamGeometryContext.cs
- Invariant.cs
- FormViewInsertEventArgs.cs
- XPathSelfQuery.cs
- ConsoleCancelEventArgs.cs
- HostedHttpContext.cs
- EncoderFallback.cs
- CachedFontFace.cs
- MatrixCamera.cs
- DesignOnlyAttribute.cs
- RangeValuePattern.cs
- ParameterCollectionEditorForm.cs
- JobCollate.cs
- ControlIdConverter.cs
- CustomAttribute.cs
- ComponentDispatcherThread.cs
- OdbcTransaction.cs
- Completion.cs
- SingleConverter.cs
- SecurityDocument.cs
- HostnameComparisonMode.cs
- StreamGeometry.cs
- ModelChangedEventArgsImpl.cs
- _TimerThread.cs
- TransportContext.cs
- DbConnectionPoolGroupProviderInfo.cs
- ServerType.cs
- XPathMessageFilterElement.cs
- SqlConnectionStringBuilder.cs
- BitmapEffectInput.cs
- StatusBarPanel.cs
- TemplateInstanceAttribute.cs
- ProofTokenCryptoHandle.cs
- Transform3D.cs
- OleDbConnection.cs
- FontStretchConverter.cs
- ControllableStoryboardAction.cs
- SqlParameter.cs
- ProgressBar.cs
- SourceFileBuildProvider.cs
- OAVariantLib.cs
- TableDetailsCollection.cs
- CaseInsensitiveHashCodeProvider.cs
- TimeZone.cs