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
- DataGridState.cs
- EmptyQuery.cs
- RolePrincipal.cs
- SiteMapNodeItemEventArgs.cs
- SchemaMapping.cs
- MessageBox.cs
- InputLangChangeEvent.cs
- RectangleGeometry.cs
- TdsRecordBufferSetter.cs
- SByteConverter.cs
- DebugView.cs
- FrameworkContentElementAutomationPeer.cs
- DesignObjectWrapper.cs
- DbProviderFactoriesConfigurationHandler.cs
- TextWriterTraceListener.cs
- ReachVisualSerializer.cs
- AliasedSlot.cs
- XamlBuildTaskServices.cs
- SetterBaseCollection.cs
- FrameworkContentElement.cs
- EventLogRecord.cs
- WindowsRebar.cs
- SizeAnimationClockResource.cs
- FormViewUpdateEventArgs.cs
- RequestCache.cs
- PixelShader.cs
- XamlPointCollectionSerializer.cs
- IFlowDocumentViewer.cs
- ResXFileRef.cs
- IncrementalHitTester.cs
- StylusPointPropertyInfoDefaults.cs
- ListBindableAttribute.cs
- TabletCollection.cs
- AuthStoreRoleProvider.cs
- CursorConverter.cs
- StyleHelper.cs
- RC2.cs
- SqlServices.cs
- Int64Storage.cs
- DetailsViewModeEventArgs.cs
- PageStatePersister.cs
- WindowsMenu.cs
- FamilyTypefaceCollection.cs
- Bold.cs
- UserValidatedEventArgs.cs
- WindowCollection.cs
- ProfilePropertySettingsCollection.cs
- SizeAnimation.cs
- ServiceCredentials.cs
- ITextView.cs
- IntSecurity.cs
- PageOrientation.cs
- XmlSchemaFacet.cs
- ZipFileInfoCollection.cs
- ObjectListComponentEditor.cs
- UnorderedHashRepartitionStream.cs
- HeaderCollection.cs
- BitmapFrameDecode.cs
- CodeMemberField.cs
- WriteableBitmap.cs
- ActiveDocumentEvent.cs
- ChangeInterceptorAttribute.cs
- MarkupWriter.cs
- BufferedWebEventProvider.cs
- FixedSOMTextRun.cs
- MobileControlsSection.cs
- LinearKeyFrames.cs
- StructuredTypeEmitter.cs
- CompositeKey.cs
- WeakReferenceEnumerator.cs
- AutomationInteropProvider.cs
- ComPlusServiceLoader.cs
- HttpClientCertificate.cs
- UserControlBuildProvider.cs
- ClientSettingsProvider.cs
- DesignerOptionService.cs
- CacheSection.cs
- PrintDocument.cs
- ClientConvert.cs
- ParameterElement.cs
- DateTimeFormat.cs
- Model3DGroup.cs
- StorageBasedPackageProperties.cs
- ThreadStaticAttribute.cs
- CallContext.cs
- ValueUtilsSmi.cs
- TargetException.cs
- AttributeQuery.cs
- EventMappingSettingsCollection.cs
- OdbcCommand.cs
- DictionaryEntry.cs
- XXXOnTypeBuilderInstantiation.cs
- DelegatingHeader.cs
- EasingKeyFrames.cs
- AutoSizeToolBoxItem.cs
- MatrixKeyFrameCollection.cs
- MetadataCollection.cs
- FunctionQuery.cs
- Mutex.cs
- DBBindings.cs