Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. //------------------------------------------------------------------------------ ///// Stores the TabControl action which instigated the TabControl event. /// /// ///// 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
- DataGridViewRowErrorTextNeededEventArgs.cs
- UnionExpr.cs
- ProfileGroupSettings.cs
- ClientConfigurationHost.cs
- GridViewDeleteEventArgs.cs
- MemberDescriptor.cs
- RequestQueue.cs
- NotifyParentPropertyAttribute.cs
- PointCollection.cs
- CodeArgumentReferenceExpression.cs
- AssemblyBuilder.cs
- ImageInfo.cs
- ExpressionHelper.cs
- DataServiceKeyAttribute.cs
- ComponentSerializationService.cs
- DatePickerTextBox.cs
- SchemaEntity.cs
- ManipulationDeltaEventArgs.cs
- VerbConverter.cs
- DataIdProcessor.cs
- BmpBitmapDecoder.cs
- StorageMappingItemLoader.cs
- ElementMarkupObject.cs
- ProfileModule.cs
- DynamicPropertyHolder.cs
- PropertyEmitterBase.cs
- IndentTextWriter.cs
- OdbcTransaction.cs
- OneOfConst.cs
- PositiveTimeSpanValidatorAttribute.cs
- DescendantBaseQuery.cs
- ISCIIEncoding.cs
- DefaultAssemblyResolver.cs
- ThumbAutomationPeer.cs
- DataGridTextBoxColumn.cs
- Bidi.cs
- ModuleElement.cs
- SqlConnection.cs
- TypeSystem.cs
- MethodCallExpression.cs
- FormatException.cs
- ISessionStateStore.cs
- XmlQueryStaticData.cs
- EventHandlersStore.cs
- TypedElement.cs
- GradientBrush.cs
- MouseGesture.cs
- ControlType.cs
- MenuRenderer.cs
- CalendarAutomationPeer.cs
- ValidationHelper.cs
- PersonalizationDictionary.cs
- LocatorPartList.cs
- ConstructorArgumentAttribute.cs
- GeneralTransform3DGroup.cs
- UriParserTemplates.cs
- PolyBezierSegment.cs
- XmlReflectionImporter.cs
- ListViewSortEventArgs.cs
- ResourcesBuildProvider.cs
- PropertyNames.cs
- ObjectListCommand.cs
- BamlBinaryWriter.cs
- GorillaCodec.cs
- AnnouncementDispatcherAsyncResult.cs
- UrlRoutingModule.cs
- XmlName.cs
- ProxyAttribute.cs
- DeclaredTypeElementCollection.cs
- BmpBitmapEncoder.cs
- EditableRegion.cs
- WSSecureConversationFeb2005.cs
- ColumnBinding.cs
- UIElement3DAutomationPeer.cs
- BuildResult.cs
- IResourceProvider.cs
- RolePrincipal.cs
- TrackBarRenderer.cs
- MergePropertyDescriptor.cs
- CodeArgumentReferenceExpression.cs
- RoleManagerSection.cs
- CallbackTimeoutsElement.cs
- CustomValidator.cs
- QueryableFilterRepeater.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- TimerElapsedEvenArgs.cs
- SQLByte.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CodeDirectoryCompiler.cs
- PenThread.cs
- CommandHelper.cs
- ReferenceSchema.cs
- Atom10FormatterFactory.cs
- MatrixIndependentAnimationStorage.cs
- SoapSchemaMember.cs
- ASCIIEncoding.cs
- ObjectStorage.cs
- ListBoxAutomationPeer.cs
- TypeDescriptionProviderAttribute.cs
- Polyline.cs