Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / TabControlCancelEvent.cs / 1305376 / 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
- TreeNodeBindingCollection.cs
- SendingRequestEventArgs.cs
- XPathChildIterator.cs
- Geometry.cs
- DbException.cs
- ReadOnlyAttribute.cs
- ApplicationHost.cs
- PageAction.cs
- IsolatedStorageException.cs
- LoadedOrUnloadedOperation.cs
- FileLoadException.cs
- SchemaTypeEmitter.cs
- TargetControlTypeAttribute.cs
- Hex.cs
- ControlCachePolicy.cs
- ControlUtil.cs
- SectionUpdates.cs
- PointConverter.cs
- TcpClientChannel.cs
- HttpFormatExtensions.cs
- SQLSingleStorage.cs
- Serializer.cs
- DbConnectionPool.cs
- Span.cs
- WorkflowMarkupSerializer.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TreeNodeBindingCollection.cs
- SymbolPair.cs
- InternalControlCollection.cs
- Animatable.cs
- IBuiltInEvidence.cs
- MessageBox.cs
- DataQuery.cs
- Permission.cs
- AddInController.cs
- DetailsViewInsertedEventArgs.cs
- ObjectDataSourceMethodEventArgs.cs
- CommonEndpointBehaviorElement.cs
- PassportAuthenticationModule.cs
- MergeLocalizationDirectives.cs
- GridViewItemAutomationPeer.cs
- TableLayoutCellPaintEventArgs.cs
- CheckBoxAutomationPeer.cs
- SerializationHelper.cs
- RegexTree.cs
- XmlSignificantWhitespace.cs
- StyleSheetDesigner.cs
- Rect3D.cs
- BamlLocalizabilityResolver.cs
- TextTreeTextNode.cs
- ControlCodeDomSerializer.cs
- SecurityContext.cs
- MetaModel.cs
- cookieexception.cs
- OLEDB_Util.cs
- HttpDebugHandler.cs
- BitmapCodecInfoInternal.cs
- ObjectHandle.cs
- PerformanceCounter.cs
- Events.cs
- ApplyTemplatesAction.cs
- PageAdapter.cs
- XmlEntityReference.cs
- WasNotInstalledException.cs
- UInt64Converter.cs
- CancellationTokenRegistration.cs
- ContainerCodeDomSerializer.cs
- EntityType.cs
- XmlEntityReference.cs
- TreeSet.cs
- ObjectDisposedException.cs
- Math.cs
- MessageSecurityOverTcp.cs
- HtmlDocument.cs
- Item.cs
- TypeRefElement.cs
- DataGridItemCollection.cs
- FileLoadException.cs
- CodeBlockBuilder.cs
- RegexRunner.cs
- PageFunction.cs
- ImportCatalogPart.cs
- SqlDependencyListener.cs
- altserialization.cs
- Message.cs
- Line.cs
- DbDataAdapter.cs
- EndOfStreamException.cs
- QueryContinueDragEventArgs.cs
- Panel.cs
- DynamicPropertyHolder.cs
- wmiutil.cs
- SocketInformation.cs
- updatecommandorderer.cs
- LabelDesigner.cs
- TextBoxBase.cs
- DbCommandDefinition.cs
- HyperLink.cs
- StrongNamePublicKeyBlob.cs
- Rotation3DAnimationBase.cs