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
- FixUp.cs
- GacUtil.cs
- MultiDataTrigger.cs
- Int64Storage.cs
- BuildManagerHost.cs
- DocumentEventArgs.cs
- WorkflowEventArgs.cs
- QueryGeneratorBase.cs
- SByteStorage.cs
- ApplicationGesture.cs
- DataGridViewLinkCell.cs
- ExtentCqlBlock.cs
- XhtmlConformanceSection.cs
- ISessionStateStore.cs
- GridViewColumnHeader.cs
- DynamicMethod.cs
- ProvidersHelper.cs
- AVElementHelper.cs
- KeyValueConfigurationCollection.cs
- RelativeSource.cs
- SchemaObjectWriter.cs
- MorphHelper.cs
- HostVisual.cs
- StylusPlugin.cs
- HtmlForm.cs
- MenuTracker.cs
- Compensate.cs
- DataGrid.cs
- TypedElement.cs
- StylusPointPropertyInfo.cs
- Misc.cs
- DataServiceExpressionVisitor.cs
- Select.cs
- DataRowView.cs
- DataSourceConverter.cs
- ButtonBaseAdapter.cs
- XmlSiteMapProvider.cs
- ScriptingWebServicesSectionGroup.cs
- ContainerAction.cs
- DocumentSignatureManager.cs
- CollectionConverter.cs
- GraphicsState.cs
- InternalException.cs
- Version.cs
- UserPreference.cs
- ScalarType.cs
- WorkflowRuntimeEndpoint.cs
- ManagementOperationWatcher.cs
- DataControlField.cs
- HttpDigestClientElement.cs
- ProcessRequestArgs.cs
- PlanCompilerUtil.cs
- ResourceContainer.cs
- IisTraceWebEventProvider.cs
- Context.cs
- GlyphTypeface.cs
- FileStream.cs
- BinaryParser.cs
- Odbc32.cs
- HostVisual.cs
- StreamWriter.cs
- TrackBar.cs
- ViewStateModeByIdAttribute.cs
- SoapException.cs
- CustomErrorCollection.cs
- DuplexChannelFactory.cs
- GetUserPreferenceRequest.cs
- ConditionalAttribute.cs
- FixedSOMContainer.cs
- BaseCollection.cs
- FieldToken.cs
- Border.cs
- ScriptControl.cs
- CfgParser.cs
- TableDesigner.cs
- ReturnEventArgs.cs
- ServiceObjectContainer.cs
- SQLInt32.cs
- SortDescriptionCollection.cs
- SoapConverter.cs
- Model3D.cs
- ParameterExpression.cs
- PackUriHelper.cs
- DictionaryEntry.cs
- Executor.cs
- DataSourceControl.cs
- WindowsRichEditRange.cs
- XmlSubtreeReader.cs
- GetParentChain.cs
- HelpProvider.cs
- HttpHandlersInstallComponent.cs
- DesignTimeParseData.cs
- BaseParagraph.cs
- XmlSchemaAttributeGroupRef.cs
- AsymmetricAlgorithm.cs
- PlanCompilerUtil.cs
- DefaultProxySection.cs
- PresentationAppDomainManager.cs
- WhiteSpaceTrimStringConverter.cs
- ContainerAction.cs