Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DesignOnlyAttribute.cs
- CommandCollectionEditor.cs
- Odbc32.cs
- XNodeNavigator.cs
- HashCryptoHandle.cs
- BufferAllocator.cs
- SqlDataSourceDesigner.cs
- SafeIUnknown.cs
- Win32Native.cs
- StringAnimationBase.cs
- EntityDesignerBuildProvider.cs
- MediaScriptCommandRoutedEventArgs.cs
- GenericPrincipal.cs
- WhitespaceRuleReader.cs
- BlurBitmapEffect.cs
- ToolboxItem.cs
- NoClickablePointException.cs
- SystemResources.cs
- ZipIOModeEnforcingStream.cs
- SettingsAttributes.cs
- MessageDescriptionCollection.cs
- ProfileEventArgs.cs
- WebPartConnection.cs
- ConnectorSelectionGlyph.cs
- SiteMapPath.cs
- ConnectionPoint.cs
- StreamMarshaler.cs
- RouteParser.cs
- Wizard.cs
- LicFileLicenseProvider.cs
- Encoder.cs
- WsdlBuildProvider.cs
- ADConnectionHelper.cs
- SqlConnection.cs
- InternalsVisibleToAttribute.cs
- FileStream.cs
- DesignTableCollection.cs
- XsltException.cs
- DbParameterCollection.cs
- XmlSchemaValidationException.cs
- AstTree.cs
- WebControlAdapter.cs
- SQLMoneyStorage.cs
- ServicePoint.cs
- XmlTextReader.cs
- QueryInterceptorAttribute.cs
- TypeInformation.cs
- HandlerMappingMemo.cs
- ErrorInfoXmlDocument.cs
- ErrorTolerantObjectWriter.cs
- CodeStatement.cs
- FilteredXmlReader.cs
- FlowDocumentReaderAutomationPeer.cs
- ProfileInfo.cs
- DataFieldConverter.cs
- Encoder.cs
- ArraySegment.cs
- FontEmbeddingManager.cs
- ClientSettingsProvider.cs
- Vector3DKeyFrameCollection.cs
- ProfilePropertyMetadata.cs
- ColumnBinding.cs
- ExtensionSimplifierMarkupObject.cs
- XmlExtensionFunction.cs
- oledbmetadatacollectionnames.cs
- SubclassTypeValidator.cs
- FontCacheLogic.cs
- HostingPreferredMapPath.cs
- ProcessHostFactoryHelper.cs
- UndoManager.cs
- IndependentlyAnimatedPropertyMetadata.cs
- CounterCreationData.cs
- TextBoxDesigner.cs
- DesignerValidatorAdapter.cs
- StrokeCollection2.cs
- WindowsScroll.cs
- UnmanagedMemoryAccessor.cs
- ConfigurationElementCollection.cs
- ComboBox.cs
- ObjectListCommandCollection.cs
- CachedCompositeFamily.cs
- ApplicationHost.cs
- WebPageTraceListener.cs
- SQLSingle.cs
- FixedDocument.cs
- DataProtection.cs
- KnownTypesProvider.cs
- AtomServiceDocumentSerializer.cs
- MachineSettingsSection.cs
- WebServiceHandlerFactory.cs
- SecurityTokenRequirement.cs
- PcmConverter.cs
- ObjectDataSourceDisposingEventArgs.cs
- SystemIPGlobalProperties.cs
- SqlReferenceCollection.cs
- CompModHelpers.cs
- ExpressionNode.cs
- ping.cs
- ServiceOperationParameter.cs
- MediaSystem.cs