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
- XamlTreeBuilder.cs
- ExceptionValidationRule.cs
- BooleanKeyFrameCollection.cs
- MobileControlsSection.cs
- TraceProvider.cs
- ToolStripButton.cs
- CompiledRegexRunnerFactory.cs
- AnimatedTypeHelpers.cs
- DropShadowEffect.cs
- TraceLog.cs
- PostBackOptions.cs
- Expression.cs
- BamlBinaryWriter.cs
- OracleConnectionStringBuilder.cs
- InputLanguageSource.cs
- PageTrueTypeFont.cs
- CryptoConfig.cs
- figurelengthconverter.cs
- RTLAwareMessageBox.cs
- FontWeightConverter.cs
- NominalTypeEliminator.cs
- PropertyEmitter.cs
- SmtpNtlmAuthenticationModule.cs
- BasePattern.cs
- TimeSpanMinutesConverter.cs
- DatagramAdapter.cs
- Int64AnimationBase.cs
- MatrixAnimationBase.cs
- GACMembershipCondition.cs
- SqlError.cs
- xml.cs
- SendDesigner.xaml.cs
- AssemblyCacheEntry.cs
- SystemInfo.cs
- ListViewItemEventArgs.cs
- HeaderFilter.cs
- PackageRelationshipSelector.cs
- ConfigurationConverterBase.cs
- DataGridViewSortCompareEventArgs.cs
- ELinqQueryState.cs
- TransformPattern.cs
- CachingHintValidation.cs
- ArrayItemReference.cs
- PerspectiveCamera.cs
- ResourcesBuildProvider.cs
- WindowsRichEdit.cs
- UserPersonalizationStateInfo.cs
- GiveFeedbackEvent.cs
- XmlSiteMapProvider.cs
- QueryCursorEventArgs.cs
- TableColumnCollectionInternal.cs
- ProviderSettings.cs
- EndpointConfigContainer.cs
- XmlDataFileEditor.cs
- HMACSHA256.cs
- CaseInsensitiveOrdinalStringComparer.cs
- InputLanguageEventArgs.cs
- ScrollBar.cs
- InputManager.cs
- TabItemWrapperAutomationPeer.cs
- GlobalEventManager.cs
- Point.cs
- _emptywebproxy.cs
- SoapObjectReader.cs
- LinkDescriptor.cs
- diagnosticsswitches.cs
- CollectionAdapters.cs
- HttpDictionary.cs
- XmlSerializerNamespaces.cs
- GacUtil.cs
- XmlWellformedWriter.cs
- TextEditorLists.cs
- DataTableMappingCollection.cs
- EndSelectCardRequest.cs
- DirectoryNotFoundException.cs
- TrustLevel.cs
- PasswordPropertyTextAttribute.cs
- ReadOnlyCollection.cs
- Material.cs
- PeerInvitationResponse.cs
- JoinQueryOperator.cs
- DrawTreeNodeEventArgs.cs
- PasswordBox.cs
- MobileControl.cs
- DateBoldEvent.cs
- DoubleMinMaxAggregationOperator.cs
- wmiprovider.cs
- BrowserCapabilitiesCompiler.cs
- CapabilitiesAssignment.cs
- DoubleLink.cs
- Condition.cs
- RowUpdatedEventArgs.cs
- InkPresenter.cs
- WizardPanel.cs
- XmlQueryContext.cs
- AttachedPropertiesService.cs
- WebRequest.cs
- CompiledELinqQueryState.cs
- SystemSounds.cs
- TextBoxLine.cs