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
- PreviewPageInfo.cs
- RoleGroup.cs
- MethodExpr.cs
- FixedSOMElement.cs
- WebSysDisplayNameAttribute.cs
- Normalization.cs
- ContainerParagraph.cs
- TextLineBreak.cs
- AudioSignalProblemOccurredEventArgs.cs
- CannotUnloadAppDomainException.cs
- QuotaExceededException.cs
- UpdateProgress.cs
- SelectionRangeConverter.cs
- SimpleLine.cs
- CalendarAutomationPeer.cs
- KnownBoxes.cs
- RouteUrlExpressionBuilder.cs
- StreamAsIStream.cs
- NewExpression.cs
- RSAPKCS1KeyExchangeFormatter.cs
- TraceListener.cs
- GroupBoxAutomationPeer.cs
- InlineObject.cs
- TemplateControlCodeDomTreeGenerator.cs
- DocumentOrderQuery.cs
- QuaternionAnimation.cs
- FloaterBaseParagraph.cs
- PathFigure.cs
- UnsafeNativeMethods.cs
- DoubleConverter.cs
- OutputCacheSettingsSection.cs
- EmbeddedMailObjectCollectionEditor.cs
- WeakHashtable.cs
- StringInfo.cs
- TextSelectionHighlightLayer.cs
- EventMemberCodeDomSerializer.cs
- TimeSpanValidatorAttribute.cs
- clipboard.cs
- XmlSchemaAnyAttribute.cs
- StretchValidation.cs
- WebConfigurationManager.cs
- Section.cs
- IndexedGlyphRun.cs
- ShaderEffect.cs
- PeerNameResolver.cs
- DbProviderFactories.cs
- ObjectListSelectEventArgs.cs
- DataSpaceManager.cs
- TableLayoutSettings.cs
- KeyPressEvent.cs
- ValueChangedEventManager.cs
- Code.cs
- ServicesUtilities.cs
- TypedElement.cs
- DetailsViewInsertEventArgs.cs
- EntityWrapperFactory.cs
- GridViewDesigner.cs
- ListManagerBindingsCollection.cs
- Convert.cs
- TypeHelper.cs
- WorkflowInstanceProvider.cs
- RequestResizeEvent.cs
- BinaryFormatterWriter.cs
- XmlSchemaSubstitutionGroup.cs
- WebServiceResponse.cs
- SafeSerializationManager.cs
- BuilderInfo.cs
- FormViewModeEventArgs.cs
- AssemblyAttributesGoHere.cs
- DebugHandleTracker.cs
- DelegateCompletionCallbackWrapper.cs
- SettingsAttributeDictionary.cs
- WindowsRichEditRange.cs
- TraceFilter.cs
- NavigateEvent.cs
- HtmlInputFile.cs
- SoapSchemaMember.cs
- SystemFonts.cs
- ExpressionVisitor.cs
- WindowHelperService.cs
- LeaseManager.cs
- ObjectAnimationBase.cs
- StringUtil.cs
- Win32PrintDialog.cs
- Operators.cs
- CodeAccessSecurityEngine.cs
- Region.cs
- FormsAuthenticationTicket.cs
- HostedTransportConfigurationBase.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- MenuItemStyle.cs
- XmlSchemaAnyAttribute.cs
- MenuItemStyleCollectionEditor.cs
- MemoryStream.cs
- PixelFormat.cs
- DBNull.cs
- ZipIOModeEnforcingStream.cs
- BrushMappingModeValidation.cs
- GraphicsPath.cs
- CodeAttributeDeclaration.cs