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
- DbDataSourceEnumerator.cs
- ConnectionManagementElementCollection.cs
- OperationCanceledException.cs
- ConfigurationStrings.cs
- QueryConverter.cs
- XmlException.cs
- InputScope.cs
- ActiveXContainer.cs
- LinqDataSourceDisposeEventArgs.cs
- FixedNode.cs
- ProvidersHelper.cs
- InstanceNameConverter.cs
- GenerateHelper.cs
- TraceSource.cs
- HttpCapabilitiesSectionHandler.cs
- OletxEnlistment.cs
- ReplyChannelAcceptor.cs
- EditorZoneDesigner.cs
- QilDataSource.cs
- Exceptions.cs
- ToolStripMenuItem.cs
- DropShadowBitmapEffect.cs
- CqlParserHelpers.cs
- OutputCacheSettings.cs
- DataIdProcessor.cs
- TextWriter.cs
- EdmComplexPropertyAttribute.cs
- ImageClickEventArgs.cs
- DynamicDocumentPaginator.cs
- WS2007FederationHttpBinding.cs
- AdapterUtil.cs
- ElapsedEventArgs.cs
- HealthMonitoringSection.cs
- CodeAttachEventStatement.cs
- SettingsPropertyValueCollection.cs
- IncomingWebResponseContext.cs
- ThreadAttributes.cs
- CornerRadius.cs
- LoginName.cs
- HostUtils.cs
- DataColumnChangeEvent.cs
- WebPartConnection.cs
- MarkupCompilePass1.cs
- HMAC.cs
- ThreadPoolTaskScheduler.cs
- ToolBarButton.cs
- SrgsElementList.cs
- WebServiceParameterData.cs
- RawUIStateInputReport.cs
- XmlQueryCardinality.cs
- FileLoadException.cs
- ModelVisual3D.cs
- TextBoxBaseDesigner.cs
- DataGridDetailsPresenterAutomationPeer.cs
- DataGridViewSortCompareEventArgs.cs
- SharedPersonalizationStateInfo.cs
- UnlockInstanceCommand.cs
- CodeParameterDeclarationExpression.cs
- VariantWrapper.cs
- ConstrainedDataObject.cs
- Fx.cs
- BitVector32.cs
- DataList.cs
- SystemIPInterfaceProperties.cs
- SqlCachedBuffer.cs
- TracePayload.cs
- SettingsAttributeDictionary.cs
- ItemsPanelTemplate.cs
- XmlQueryContext.cs
- CompilationUtil.cs
- XmlRootAttribute.cs
- WebZone.cs
- FloaterBaseParagraph.cs
- ImageField.cs
- CheckBoxAutomationPeer.cs
- DataGridViewHitTestInfo.cs
- LazyTextWriterCreator.cs
- HttpDebugHandler.cs
- FrameworkElementFactoryMarkupObject.cs
- SafeFileHandle.cs
- ConfigurationErrorsException.cs
- StaticDataManager.cs
- BinaryParser.cs
- AnnotationStore.cs
- FreezableDefaultValueFactory.cs
- ColorContext.cs
- QuaternionKeyFrameCollection.cs
- UnsafeCollabNativeMethods.cs
- serverconfig.cs
- TextPointerBase.cs
- DnsPermission.cs
- Maps.cs
- ListViewItemMouseHoverEvent.cs
- XmlLangPropertyAttribute.cs
- SafeBitVector32.cs
- XmlSchemaValidator.cs
- CompiledQueryCacheKey.cs
- NumberSubstitution.cs
- ConnectionStringsExpressionBuilder.cs
- TextReader.cs