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
- WizardStepBase.cs
- WebPartExportVerb.cs
- DataGridViewComboBoxColumn.cs
- RequestQueue.cs
- SimpleRecyclingCache.cs
- CryptoConfig.cs
- NGCPageContentCollectionSerializerAsync.cs
- ServicesUtilities.cs
- XmlNodeList.cs
- ExternalCalls.cs
- CodeSnippetCompileUnit.cs
- ButtonField.cs
- SqlConnectionPoolProviderInfo.cs
- Sentence.cs
- DropDownList.cs
- DataControlFieldCell.cs
- BufferBuilder.cs
- Configuration.cs
- DiscoveryMessageSequence.cs
- ApplicationActivator.cs
- RotationValidation.cs
- DataGridColumnDropSeparator.cs
- BitmapEffectGroup.cs
- DefaultMergeHelper.cs
- SvcMapFileSerializer.cs
- SchemaObjectWriter.cs
- Soap.cs
- TextAction.cs
- ConversionContext.cs
- FromReply.cs
- HtmlInputReset.cs
- CriticalHandle.cs
- XmlAttributeCollection.cs
- SqlTransaction.cs
- XPathSelfQuery.cs
- ServiceHostingEnvironmentSection.cs
- MappedMetaModel.cs
- ActionFrame.cs
- ParagraphResult.cs
- CollectionBuilder.cs
- NamespaceDecl.cs
- EnglishPluralizationService.cs
- BinaryWriter.cs
- Int32Converter.cs
- PocoEntityKeyStrategy.cs
- KeySplineConverter.cs
- GeometryHitTestResult.cs
- RequestResizeEvent.cs
- ApplyImportsAction.cs
- CookielessHelper.cs
- EventLogPermissionEntry.cs
- XmlSchemaSimpleType.cs
- StateItem.cs
- IgnoreSectionHandler.cs
- TypedAsyncResult.cs
- RightsController.cs
- FontFaceLayoutInfo.cs
- SchemaMerger.cs
- AtomMaterializer.cs
- DispatcherOperation.cs
- BitmapEffectGroup.cs
- MediaPlayer.cs
- HttpDictionary.cs
- PrintDialogException.cs
- UnsafeNativeMethods.cs
- EncodingDataItem.cs
- ScriptControl.cs
- ResourcePool.cs
- WindowsTreeView.cs
- LayoutEvent.cs
- SqlDeflator.cs
- PathFigureCollectionConverter.cs
- GuidTagList.cs
- XMLUtil.cs
- ClipboardData.cs
- CodeVariableDeclarationStatement.cs
- ChameleonKey.cs
- ValueProviderWrapper.cs
- ProgressBar.cs
- TemplateControlBuildProvider.cs
- KeyBinding.cs
- SQLByteStorage.cs
- HorizontalAlignConverter.cs
- PropertyStore.cs
- TypeUsage.cs
- MergeFilterQuery.cs
- PowerModeChangedEventArgs.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- FormsAuthenticationUser.cs
- HttpCacheVary.cs
- SetStoryboardSpeedRatio.cs
- DelegatingHeader.cs
- XamlWrappingReader.cs
- MexHttpsBindingElement.cs
- ErrorLog.cs
- WindowsPen.cs
- HtmlMeta.cs
- XslTransform.cs
- EmptyCollection.cs
- _DisconnectOverlappedAsyncResult.cs