Code:
/ 4.0 / 4.0 / untmp / 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. /// /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpListenerPrefixCollection.cs
- PathSegment.cs
- MemberAccessException.cs
- XmlHierarchicalEnumerable.cs
- XmlNamespaceMappingCollection.cs
- XPathNavigatorKeyComparer.cs
- TextSearch.cs
- NavigatorInput.cs
- Exceptions.cs
- CompositeDataBoundControl.cs
- SmiTypedGetterSetter.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- EnumerableCollectionView.cs
- QuadraticBezierSegment.cs
- EmbeddedMailObject.cs
- CmsInterop.cs
- _RequestCacheProtocol.cs
- TypeUtil.cs
- DiscoveryDocument.cs
- HttpSocketManager.cs
- HostingEnvironment.cs
- LoginUtil.cs
- BinaryMethodMessage.cs
- DataBoundControlAdapter.cs
- OdbcConnection.cs
- filewebrequest.cs
- DataViewManagerListItemTypeDescriptor.cs
- SqlNotificationEventArgs.cs
- SoapFormatterSinks.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- LinkArea.cs
- ClientSettingsProvider.cs
- UnauthorizedWebPart.cs
- XmlMemberMapping.cs
- Context.cs
- TabControlToolboxItem.cs
- ConstraintStruct.cs
- EventManager.cs
- ResourceExpressionBuilder.cs
- PasswordRecovery.cs
- SoapTransportImporter.cs
- DataGridViewMethods.cs
- TypeUnloadedException.cs
- SchemaCollectionPreprocessor.cs
- ZoomPercentageConverter.cs
- SpinWait.cs
- SqlBulkCopyColumnMapping.cs
- RotationValidation.cs
- CardSpaceException.cs
- EntryIndex.cs
- SingleConverter.cs
- ConnectionConsumerAttribute.cs
- EntityDescriptor.cs
- SiteMembershipCondition.cs
- webproxy.cs
- ElapsedEventArgs.cs
- CustomGrammar.cs
- GraphicsPath.cs
- PlatformNotSupportedException.cs
- UnionQueryOperator.cs
- InkCanvasAutomationPeer.cs
- WindowsSlider.cs
- CollectionsUtil.cs
- SqlOuterApplyReducer.cs
- InternalPermissions.cs
- MetadataArtifactLoaderComposite.cs
- AesManaged.cs
- SqlPersonalizationProvider.cs
- HttpCookie.cs
- TileBrush.cs
- WmiPutTraceRecord.cs
- SourceLineInfo.cs
- DataColumn.cs
- CheckableControlBaseAdapter.cs
- CollectionConverter.cs
- AncestorChangedEventArgs.cs
- DiscoveryExceptionDictionary.cs
- TdsParameterSetter.cs
- DocumentViewerBase.cs
- Select.cs
- AttributeCollection.cs
- StringUtil.cs
- DbException.cs
- DecimalKeyFrameCollection.cs
- SelectionUIHandler.cs
- ToolStripOverflow.cs
- Trace.cs
- HTTPNotFoundHandler.cs
- SharedHttpsTransportManager.cs
- WorkflowRuntimeService.cs
- CollectionChangedEventManager.cs
- PointCollection.cs
- coordinator.cs
- FixedPosition.cs
- ObjectQuery_EntitySqlExtensions.cs
- TableRowCollection.cs
- ToolstripProfessionalRenderer.cs
- URI.cs
- VarRefManager.cs
- XmlSchemaCollection.cs