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; ////// /// 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
- RectangleF.cs
- CellTreeNodeVisitors.cs
- SqlFormatter.cs
- StringConverter.cs
- SignatureToken.cs
- RelationshipFixer.cs
- TextSimpleMarkerProperties.cs
- AtomServiceDocumentSerializer.cs
- SQLByte.cs
- ActiveXHost.cs
- UpdateInfo.cs
- SignatureToken.cs
- ReferencedCollectionType.cs
- RoleManagerModule.cs
- MailBnfHelper.cs
- XhtmlBasicTextBoxAdapter.cs
- RecognitionResult.cs
- RuleSettings.cs
- TreeNode.cs
- DBConcurrencyException.cs
- TextSchema.cs
- PersonalizableAttribute.cs
- DateTimeConstantAttribute.cs
- ProtocolViolationException.cs
- ElementProxy.cs
- TrustManagerPromptUI.cs
- DES.cs
- ValidationSummary.cs
- CompilerResults.cs
- UInt32Storage.cs
- QilUnary.cs
- XDRSchema.cs
- SoapCommonClasses.cs
- ProviderConnectionPoint.cs
- AssertFilter.cs
- OracleRowUpdatedEventArgs.cs
- SequenceFullException.cs
- SafeNativeMethods.cs
- Timeline.cs
- SqlRecordBuffer.cs
- DependsOnAttribute.cs
- PropertyBuilder.cs
- BindToObject.cs
- DictionaryKeyPropertyAttribute.cs
- RegistryHandle.cs
- ConversionContext.cs
- MsmqHostedTransportManager.cs
- SoapMessage.cs
- HelloMessage11.cs
- ObjectSet.cs
- SplineQuaternionKeyFrame.cs
- TreeNode.cs
- CollectionBase.cs
- InternalConfigRoot.cs
- ProcessHostMapPath.cs
- CodeFieldReferenceExpression.cs
- DataGridCellInfo.cs
- WebServiceData.cs
- XmlILOptimizerVisitor.cs
- AggregationMinMaxHelpers.cs
- Membership.cs
- ValidationRuleCollection.cs
- HtmlInputControl.cs
- Exception.cs
- SafeTimerHandle.cs
- SudsParser.cs
- RawStylusInputReport.cs
- BaseAddressElementCollection.cs
- LayoutEngine.cs
- ControlValuePropertyAttribute.cs
- SqlGenerator.cs
- CompilerHelpers.cs
- PasswordBoxAutomationPeer.cs
- FileReservationCollection.cs
- EncodingTable.cs
- BlurBitmapEffect.cs
- WebBrowsableAttribute.cs
- AlphabeticalEnumConverter.cs
- ScrollPatternIdentifiers.cs
- StyleReferenceConverter.cs
- SQLByteStorage.cs
- COM2ExtendedTypeConverter.cs
- BitmapMetadataEnumerator.cs
- StretchValidation.cs
- DynamicResourceExtension.cs
- Recipient.cs
- InvalidCommandTreeException.cs
- UndoManager.cs
- Utility.cs
- QueryableDataSource.cs
- TimeSpanConverter.cs
- VerificationAttribute.cs
- ToolBarButtonClickEvent.cs
- GenericIdentity.cs
- XmlSchemaValidationException.cs
- XmlILOptimizerVisitor.cs
- MethodToken.cs
- SaveFileDialog.cs
- AspCompat.cs
- EventLogPermissionEntry.cs