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; ////// /// 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./// 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
- CompilerGlobalScopeAttribute.cs
- AccessDataSourceView.cs
- newinstructionaction.cs
- StringArrayConverter.cs
- FullTextState.cs
- DataControlPagerLinkButton.cs
- PrimitiveSchema.cs
- BinaryObjectInfo.cs
- ClientSettingsProvider.cs
- TableLayoutSettings.cs
- EmptyReadOnlyDictionaryInternal.cs
- NamespaceList.cs
- ControlValuePropertyAttribute.cs
- AQNBuilder.cs
- ComponentEvent.cs
- UnicodeEncoding.cs
- CommandEventArgs.cs
- AtomParser.cs
- StaticFileHandler.cs
- MenuItemStyleCollection.cs
- SiteMembershipCondition.cs
- SqlAliaser.cs
- EntityDataSourceWrapper.cs
- SiteMapNodeItemEventArgs.cs
- PermissionToken.cs
- DataSourceProvider.cs
- ContextMarshalException.cs
- Point.cs
- DefaultBindingPropertyAttribute.cs
- ZipIOExtraFieldZip64Element.cs
- BufferAllocator.cs
- NumberSubstitution.cs
- LookupBindingPropertiesAttribute.cs
- CommonXSendMessage.cs
- SimpleWebHandlerParser.cs
- DataGridViewButtonColumn.cs
- CompositionAdorner.cs
- AsyncPostBackTrigger.cs
- CodeVariableDeclarationStatement.cs
- AvTraceDetails.cs
- MediaTimeline.cs
- FixedPageStructure.cs
- IISUnsafeMethods.cs
- IRCollection.cs
- WaitHandleCannotBeOpenedException.cs
- HeaderedContentControl.cs
- DaylightTime.cs
- StructuredType.cs
- TileBrush.cs
- TreeNodeStyleCollection.cs
- InternalConfigRoot.cs
- XmlIncludeAttribute.cs
- SqlConnection.cs
- ContextMenu.cs
- ConditionalWeakTable.cs
- PassportAuthenticationEventArgs.cs
- MetadataItemEmitter.cs
- XmlIlTypeHelper.cs
- SourceElementsCollection.cs
- LinearGradientBrush.cs
- ProjectionAnalyzer.cs
- PerformanceCounterScope.cs
- MetaForeignKeyColumn.cs
- VerticalAlignConverter.cs
- AccessKeyManager.cs
- SoapCodeExporter.cs
- EventDescriptor.cs
- ProxyAttribute.cs
- ReaderWriterLock.cs
- ListManagerBindingsCollection.cs
- SafeFileMappingHandle.cs
- TemplateControlParser.cs
- SecurityTokenContainer.cs
- RadioButtonAutomationPeer.cs
- LineSegment.cs
- VariantWrapper.cs
- LookupNode.cs
- GraphicsContext.cs
- EntityContainerRelationshipSetEnd.cs
- EntityContainer.cs
- WindowsGraphics.cs
- DocumentReferenceCollection.cs
- DataRow.cs
- NonClientArea.cs
- Border.cs
- SerTrace.cs
- EntityTransaction.cs
- RowParagraph.cs
- InstanceHandleReference.cs
- Brush.cs
- HashCodeCombiner.cs
- PropertyReferenceExtension.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- MenuItem.cs
- ToolTipAutomationPeer.cs
- GridViewPageEventArgs.cs
- SQLBoolean.cs
- ToolboxItemCollection.cs
- CorePropertiesFilter.cs
- Sequence.cs