Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- CommandManager.cs
- CodeMethodReturnStatement.cs
- MetadataElement.cs
- XamlRtfConverter.cs
- TargetFrameworkUtil.cs
- Quaternion.cs
- SqlAliasesReferenced.cs
- TypeConverterAttribute.cs
- Authorization.cs
- XamlHostingSectionGroup.cs
- Pair.cs
- DataGridViewCellEventArgs.cs
- WebSysDescriptionAttribute.cs
- ObjectContext.cs
- DelayedRegex.cs
- GenericEnumerator.cs
- HtmlGenericControl.cs
- ServiceDurableInstanceContextProvider.cs
- SelectionUIHandler.cs
- PathFigure.cs
- StringFreezingAttribute.cs
- OdbcCommandBuilder.cs
- GridLength.cs
- JsonFormatGeneratorStatics.cs
- Symbol.cs
- CustomAttributeFormatException.cs
- BitmapFrame.cs
- codemethodreferenceexpression.cs
- DocumentPageTextView.cs
- DialogResultConverter.cs
- SqlDependencyListener.cs
- SubqueryRules.cs
- KeyValueSerializer.cs
- ObjectMemberMapping.cs
- BrowserTree.cs
- Hash.cs
- JsonQueryStringConverter.cs
- RegexCapture.cs
- KeyNotFoundException.cs
- ZipIOLocalFileBlock.cs
- XmlSchemaObjectCollection.cs
- Button.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- BitmapEffectRenderDataResource.cs
- UIPermission.cs
- WebPartAddingEventArgs.cs
- SoapInteropTypes.cs
- LinqDataSourceView.cs
- MemoryRecordBuffer.cs
- LabelDesigner.cs
- TextPointerBase.cs
- PrincipalPermission.cs
- JsonDataContract.cs
- VectorAnimation.cs
- BitHelper.cs
- Gdiplus.cs
- CommandHelper.cs
- IssuedTokenClientElement.cs
- StubHelpers.cs
- ParameterCollection.cs
- GenericXmlSecurityToken.cs
- PermissionAttributes.cs
- Select.cs
- DataListItemCollection.cs
- XPathNode.cs
- NameValueConfigurationCollection.cs
- FrugalList.cs
- DataTableCollection.cs
- ScrollBarRenderer.cs
- PersonalizationStateInfoCollection.cs
- VisualBrush.cs
- MessageFilter.cs
- ScriptHandlerFactory.cs
- CallSiteOps.cs
- SignalGate.cs
- ClientTargetSection.cs
- HighContrastHelper.cs
- UnknownBitmapDecoder.cs
- CmsInterop.cs
- GeometryDrawing.cs
- RadialGradientBrush.cs
- ConnectionPoint.cs
- Effect.cs
- PcmConverter.cs
- RegexMatch.cs
- StyleTypedPropertyAttribute.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DataSourceHelper.cs
- TextDecorationLocationValidation.cs
- SafeFindHandle.cs
- ListViewSortEventArgs.cs
- LineVisual.cs
- XmlSchemaException.cs
- PieceDirectory.cs
- UserPersonalizationStateInfo.cs
- CreateUserErrorEventArgs.cs
- BinaryHeap.cs
- ToolStripEditorManager.cs
- EntityObject.cs
- MaterialCollection.cs