Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- securitycriticaldataClass.cs
- DispatcherFrame.cs
- GridViewDeleteEventArgs.cs
- PointLight.cs
- ImageAnimator.cs
- ProviderUtil.cs
- TransformGroup.cs
- RoutedEvent.cs
- EntityContainer.cs
- HiddenField.cs
- DirectoryObjectSecurity.cs
- FirstMatchCodeGroup.cs
- ViewSimplifier.cs
- SessionParameter.cs
- XmlILStorageConverter.cs
- UTF32Encoding.cs
- MulticastNotSupportedException.cs
- DataSourceGeneratorException.cs
- Deflater.cs
- CertificateReferenceElement.cs
- MetadataUtilsSmi.cs
- BuildProviderCollection.cs
- XmlNotation.cs
- FaultContext.cs
- UriScheme.cs
- TimeSpan.cs
- sqlnorm.cs
- InkSerializer.cs
- SemaphoreSecurity.cs
- ApplicationActivator.cs
- DescendantOverDescendantQuery.cs
- CatalogPart.cs
- HandlerBase.cs
- __ConsoleStream.cs
- securestring.cs
- ExternalCalls.cs
- TypeUtils.cs
- iisPickupDirectory.cs
- WindowsListViewGroup.cs
- Lease.cs
- Vector3DAnimation.cs
- HttpGetProtocolReflector.cs
- NativeMethods.cs
- MouseButton.cs
- DataGridCellEditEndingEventArgs.cs
- AssemblyNameProxy.cs
- AppDomainManager.cs
- FontInfo.cs
- PropertyGeneratedEventArgs.cs
- Scheduling.cs
- _SslStream.cs
- LayoutEngine.cs
- ThreadInterruptedException.cs
- JsonWriter.cs
- PartitionedDataSource.cs
- CaseInsensitiveHashCodeProvider.cs
- MembershipPasswordException.cs
- Point3D.cs
- CodeAttributeArgumentCollection.cs
- ViewManager.cs
- DivideByZeroException.cs
- ResourcePermissionBaseEntry.cs
- SizeFConverter.cs
- RepeaterItemCollection.cs
- SqlRewriteScalarSubqueries.cs
- HtmlFormWrapper.cs
- DecimalAnimation.cs
- HashAlgorithm.cs
- XmlSchemaAnnotation.cs
- WebBrowserProgressChangedEventHandler.cs
- AssemblyInfo.cs
- SecurityContext.cs
- WrappedReader.cs
- PropertyDescriptorGridEntry.cs
- VisualCollection.cs
- NavigationPropertyEmitter.cs
- TypeGeneratedEventArgs.cs
- DataObjectFieldAttribute.cs
- TreeNodeCollection.cs
- DataBoundControlHelper.cs
- JoinGraph.cs
- RegularExpressionValidator.cs
- FixedTextBuilder.cs
- XmlWriterTraceListener.cs
- Helper.cs
- LogReservationCollection.cs
- ArgumentOutOfRangeException.cs
- DesignTimeVisibleAttribute.cs
- DodSequenceMerge.cs
- ImpersonateTokenRef.cs
- WebServiceData.cs
- SqlFunctions.cs
- CompilationUnit.cs
- RightsManagementEncryptionTransform.cs
- CalculatedColumn.cs
- CodeStatement.cs
- StatusBarPanelClickEvent.cs
- CodeGenerator.cs
- MessageBuffer.cs
- PaintEvent.cs