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
- ParagraphVisual.cs
- CookieHandler.cs
- ExternalException.cs
- FileCodeGroup.cs
- WorkflowTransactionOptions.cs
- assertwrapper.cs
- CroppedBitmap.cs
- XslVisitor.cs
- BufferedWebEventProvider.cs
- xmlfixedPageInfo.cs
- ContentHostHelper.cs
- PropertyStore.cs
- RtType.cs
- FloatUtil.cs
- DockProviderWrapper.cs
- CalendarDateChangedEventArgs.cs
- CollectionChangedEventManager.cs
- Vertex.cs
- MatrixCamera.cs
- TextSearch.cs
- XmlAnyElementAttribute.cs
- PersonalizationProviderHelper.cs
- CompileLiteralTextParser.cs
- SqlFunctionAttribute.cs
- MenuBase.cs
- FileEnumerator.cs
- ToolboxDataAttribute.cs
- KnownBoxes.cs
- ParagraphVisual.cs
- DbProviderFactory.cs
- PageBreakRecord.cs
- StylusCaptureWithinProperty.cs
- CodeNamespaceImportCollection.cs
- HtmlAnchor.cs
- DataGridViewImageCell.cs
- DependencyPropertyHelper.cs
- DataColumnMappingCollection.cs
- GridViewUpdateEventArgs.cs
- BooleanConverter.cs
- ResourceManagerWrapper.cs
- RetrieveVirtualItemEventArgs.cs
- ColumnClickEvent.cs
- PassportIdentity.cs
- HtmlInputPassword.cs
- PasswordBoxAutomationPeer.cs
- WebPart.cs
- ProtocolElementCollection.cs
- InputScopeConverter.cs
- FileResponseElement.cs
- HorizontalAlignConverter.cs
- WindowsFormsHelpers.cs
- FontClient.cs
- ConversionContext.cs
- GeneralTransform3DTo2D.cs
- SelectionItemProviderWrapper.cs
- AuthenticationConfig.cs
- Label.cs
- TextElementEnumerator.cs
- WebPartUtil.cs
- SourceSwitch.cs
- GridViewCancelEditEventArgs.cs
- TemplateControl.cs
- HMAC.cs
- MouseBinding.cs
- FormatConvertedBitmap.cs
- ImageConverter.cs
- WebConvert.cs
- TableItemStyle.cs
- DataGridViewTopLeftHeaderCell.cs
- DataTablePropertyDescriptor.cs
- SqlVisitor.cs
- UnitControl.cs
- LostFocusEventManager.cs
- ImageFormat.cs
- CustomWebEventKey.cs
- RangeContentEnumerator.cs
- DetailsViewDesigner.cs
- Annotation.cs
- FolderBrowserDialog.cs
- ListenerSingletonConnectionReader.cs
- WebPartVerb.cs
- TableItemStyle.cs
- FontDifferentiator.cs
- ScrollContentPresenter.cs
- Rule.cs
- RegexGroup.cs
- CoreSwitches.cs
- WebPartCatalogAddVerb.cs
- Literal.cs
- ColumnClickEvent.cs
- TextRenderer.cs
- _ScatterGatherBuffers.cs
- SimpleRecyclingCache.cs
- TextDecorations.cs
- DSASignatureDeformatter.cs
- ClonableStack.cs
- Soap.cs
- ChannelSinkStacks.cs
- LinqDataSourceEditData.cs
- MenuItem.cs