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
- StylusButtonEventArgs.cs
- HtmlLink.cs
- IndexedString.cs
- PersonalizationDictionary.cs
- HttpCacheVary.cs
- VScrollBar.cs
- ManualResetEventSlim.cs
- GridViewDeletedEventArgs.cs
- BulletedList.cs
- ConnectionConsumerAttribute.cs
- InputEventArgs.cs
- WebServiceTypeData.cs
- GetChildSubtree.cs
- __ComObject.cs
- ExpressionBuilderCollection.cs
- Transform.cs
- _DomainName.cs
- PropertyMap.cs
- streamingZipPartStream.cs
- EventTrigger.cs
- UInt32.cs
- GroupBoxRenderer.cs
- Utils.cs
- TextChangedEventArgs.cs
- Storyboard.cs
- DataFieldConverter.cs
- MetadataFile.cs
- SelectionPatternIdentifiers.cs
- TimersDescriptionAttribute.cs
- ListViewUpdateEventArgs.cs
- SurrogateSelector.cs
- SqlDataSourceFilteringEventArgs.cs
- PrincipalPermission.cs
- CombinedHttpChannel.cs
- SendActivityValidator.cs
- PolyLineSegmentFigureLogic.cs
- DeclarativeCatalogPart.cs
- ReliableOutputSessionChannel.cs
- ClientScriptManager.cs
- DataGridCellEditEndingEventArgs.cs
- TagPrefixAttribute.cs
- IdnMapping.cs
- AnnotationDocumentPaginator.cs
- LayoutSettings.cs
- HttpHeaderCollection.cs
- DoubleLinkList.cs
- SqlBuilder.cs
- ExtensionElement.cs
- TransformPatternIdentifiers.cs
- Solver.cs
- SemanticResultValue.cs
- TypedDatasetGenerator.cs
- FrameworkRichTextComposition.cs
- WorkflowElementDialog.cs
- C14NUtil.cs
- WebPartConnectionsCancelEventArgs.cs
- OdbcInfoMessageEvent.cs
- ImmComposition.cs
- DataConnectionHelper.cs
- CodeFieldReferenceExpression.cs
- GridViewColumnCollection.cs
- QualifiedCellIdBoolean.cs
- RecordBuilder.cs
- PreviewKeyDownEventArgs.cs
- ScrollItemPatternIdentifiers.cs
- TableRowGroupCollection.cs
- XamlReader.cs
- HttpFileCollectionWrapper.cs
- DependentList.cs
- TypeExtensions.cs
- GridViewPageEventArgs.cs
- LocalizableAttribute.cs
- Int64AnimationUsingKeyFrames.cs
- SafeHandles.cs
- VisualTarget.cs
- TextRangeEdit.cs
- SetterBaseCollection.cs
- WindowsHyperlink.cs
- TextSpan.cs
- HyperLinkColumn.cs
- InvalidDataContractException.cs
- hwndwrapper.cs
- WebSysDisplayNameAttribute.cs
- TextTreeTextBlock.cs
- Pkcs9Attribute.cs
- AggregatePushdown.cs
- TypeFieldSchema.cs
- TransformCollection.cs
- HtmlTextArea.cs
- ControlAdapter.cs
- DataSourceHelper.cs
- UniqueEventHelper.cs
- SafeViewOfFileHandle.cs
- MarshalByRefObject.cs
- SqlConnectionString.cs
- HttpCookiesSection.cs
- ToolboxItemCollection.cs
- linebase.cs
- DifferencingCollection.cs
- ComplexTypeEmitter.cs