Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- InputScope.cs
- ObjectDataSourceMethodEventArgs.cs
- GlobalizationAssembly.cs
- ManipulationDelta.cs
- MultiView.cs
- WorkflowWebHostingModule.cs
- PasswordTextContainer.cs
- EdmValidator.cs
- InvalidFilterCriteriaException.cs
- HtmlWindow.cs
- Lasso.cs
- BinaryUtilClasses.cs
- EmptyEnumerator.cs
- SqlLiftIndependentRowExpressions.cs
- ModifiableIteratorCollection.cs
- ServicePointManager.cs
- LineServicesRun.cs
- CustomAttributeSerializer.cs
- Rect3DValueSerializer.cs
- XmlAttributeAttribute.cs
- SqlMultiplexer.cs
- AsmxEndpointPickerExtension.cs
- HostingEnvironment.cs
- GroupLabel.cs
- AliasedExpr.cs
- WindowsRegion.cs
- CodeTryCatchFinallyStatement.cs
- UrlMappingsSection.cs
- NonSerializedAttribute.cs
- StateMachineSubscriptionManager.cs
- NetworkInformationPermission.cs
- DictionaryManager.cs
- GiveFeedbackEventArgs.cs
- InvokeBase.cs
- ConfigXmlSignificantWhitespace.cs
- ForceCopyBuildProvider.cs
- BindingBase.cs
- FormClosedEvent.cs
- ApplicationContext.cs
- SR.cs
- Application.cs
- XmlNodeReader.cs
- TraceEventCache.cs
- NativeBuffer.cs
- TextSearch.cs
- WebPartEditorCancelVerb.cs
- EntityParameter.cs
- ScrollBar.cs
- X509Utils.cs
- PathFigure.cs
- FolderBrowserDialog.cs
- TrackingLocation.cs
- GlyphRunDrawing.cs
- XPathCompileException.cs
- XmlSerializerAssemblyAttribute.cs
- HtmlHead.cs
- PhysicalAddress.cs
- PluralizationService.cs
- mongolianshape.cs
- CultureMapper.cs
- ReadOnlyDictionary.cs
- TextTreeExtractElementUndoUnit.cs
- InstanceNotReadyException.cs
- DbDataAdapter.cs
- WindowsRichEdit.cs
- XPathItem.cs
- DataSourceCache.cs
- XmlLoader.cs
- SchemaElement.cs
- StoreContentChangedEventArgs.cs
- ChangeBlockUndoRecord.cs
- GenericEnumerator.cs
- KeyGesture.cs
- EdgeProfileValidation.cs
- TextUtf8RawTextWriter.cs
- Geometry3D.cs
- HtmlInputButton.cs
- PageBuildProvider.cs
- ListBoxItemAutomationPeer.cs
- DataGridViewCellCancelEventArgs.cs
- BamlLocalizationDictionary.cs
- FillErrorEventArgs.cs
- PrintEvent.cs
- ADConnectionHelper.cs
- StringValidatorAttribute.cs
- RootProfilePropertySettingsCollection.cs
- RequestTimeoutManager.cs
- ExceptionValidationRule.cs
- MappingItemCollection.cs
- TextTreeInsertElementUndoUnit.cs
- BindingCompleteEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DataObjectMethodAttribute.cs
- AssociativeAggregationOperator.cs
- SignedInfo.cs
- Manipulation.cs
- EndOfStreamException.cs
- TemplateField.cs
- PenContexts.cs
- LazyTextWriterCreator.cs