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
- HistoryEventArgs.cs
- ByteAnimationUsingKeyFrames.cs
- XslAst.cs
- GeneralTransform3D.cs
- DecoderExceptionFallback.cs
- SoapWriter.cs
- UnsafeNativeMethods.cs
- safelinkcollection.cs
- XsdCachingReader.cs
- SafeNativeMethodsOther.cs
- Selection.cs
- WebEvents.cs
- FieldBuilder.cs
- DetailsViewUpdatedEventArgs.cs
- CounterNameConverter.cs
- HttpHandlersSection.cs
- MasterPage.cs
- TimeManager.cs
- DriveInfo.cs
- ScriptManager.cs
- BroadcastEventHelper.cs
- StringStorage.cs
- DeclarativeCatalogPartDesigner.cs
- Pts.cs
- HostingPreferredMapPath.cs
- InvokeWebServiceDesigner.cs
- ResourceReader.cs
- SubMenuStyleCollection.cs
- EdmFunction.cs
- TableCellAutomationPeer.cs
- ApplicationServicesHostFactory.cs
- Pointer.cs
- _ContextAwareResult.cs
- TreeViewDesigner.cs
- DriveNotFoundException.cs
- InheritablePropertyChangeInfo.cs
- Model3DGroup.cs
- XPathNavigatorReader.cs
- CryptoHelper.cs
- TypeConverterHelper.cs
- XamlSerializerUtil.cs
- RawMouseInputReport.cs
- DynamicAttribute.cs
- RectangleF.cs
- BitmapEffectCollection.cs
- TextWriter.cs
- StorageMappingItemCollection.cs
- DateTimePicker.cs
- BaseParagraph.cs
- Input.cs
- AddressHeaderCollection.cs
- CodeTypeConstructor.cs
- ArgumentValue.cs
- NavigatorInput.cs
- MergeExecutor.cs
- SmtpLoginAuthenticationModule.cs
- AudioSignalProblemOccurredEventArgs.cs
- PagesChangedEventArgs.cs
- ProgressBar.cs
- ConnectionOrientedTransportElement.cs
- SiteMapProvider.cs
- MDIControlStrip.cs
- DecoderReplacementFallback.cs
- ManifestBasedResourceGroveler.cs
- BamlTreeMap.cs
- ResourcesBuildProvider.cs
- SpeakProgressEventArgs.cs
- DbMetaDataCollectionNames.cs
- ThemeConfigurationDialog.cs
- OletxVolatileEnlistment.cs
- RegexInterpreter.cs
- MeasureData.cs
- TableChangeProcessor.cs
- DPCustomTypeDescriptor.cs
- ClientTargetSection.cs
- PageCatalogPart.cs
- ListViewSelectEventArgs.cs
- PeerTransportListenAddressValidatorAttribute.cs
- QilName.cs
- SuppressMessageAttribute.cs
- ConfigXmlText.cs
- SoapReflectionImporter.cs
- CommandField.cs
- OleDragDropHandler.cs
- MediaTimeline.cs
- IProvider.cs
- FigureParagraph.cs
- _SslSessionsCache.cs
- FactoryGenerator.cs
- EntityObject.cs
- NamespaceCollection.cs
- EndpointInstanceProvider.cs
- UInt16Converter.cs
- TailPinnedEventArgs.cs
- TypeBuilder.cs
- AutomationEventArgs.cs
- XmlSchemaAnyAttribute.cs
- HighlightOverlayGlyph.cs
- ConfigurationStrings.cs
- RegexStringValidatorAttribute.cs