Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- GetWinFXPath.cs
- _Semaphore.cs
- Int32Rect.cs
- ServiceModelActivationSectionGroup.cs
- LazyTextWriterCreator.cs
- UIPropertyMetadata.cs
- SqlParameterCollection.cs
- NumericUpDown.cs
- RuntimeWrappedException.cs
- DemultiplexingClientMessageFormatter.cs
- Grammar.cs
- FlowDocumentScrollViewer.cs
- ModelPropertyCollectionImpl.cs
- QueueSurrogate.cs
- ShutDownListener.cs
- EntitySet.cs
- Int64.cs
- WorkflowApplicationAbortedEventArgs.cs
- SourceChangedEventArgs.cs
- FreezableOperations.cs
- ColumnMapVisitor.cs
- ListViewUpdateEventArgs.cs
- Viewport3DVisual.cs
- DataGridViewColumnEventArgs.cs
- ObjectSecurity.cs
- _ChunkParse.cs
- HScrollBar.cs
- GridEntryCollection.cs
- EntityContainer.cs
- RectangleGeometry.cs
- HttpRequest.cs
- ArgumentDesigner.xaml.cs
- Vector3DIndependentAnimationStorage.cs
- WebAdminConfigurationHelper.cs
- SigningDialog.cs
- BinaryReader.cs
- TwoPhaseCommit.cs
- VisualStyleTypesAndProperties.cs
- EncryptedReference.cs
- StrongNameKeyPair.cs
- TypedServiceChannelBuilder.cs
- _IPv4Address.cs
- GridViewDeleteEventArgs.cs
- AccessedThroughPropertyAttribute.cs
- DefaultValueMapping.cs
- exports.cs
- EventLogPermissionAttribute.cs
- RectangleGeometry.cs
- ImportedNamespaceContextItem.cs
- Repeater.cs
- VectorCollection.cs
- ExpressionConverter.cs
- ZoneMembershipCondition.cs
- ArrangedElement.cs
- RegistryDataKey.cs
- StateChangeEvent.cs
- SimpleRecyclingCache.cs
- UnauthorizedWebPart.cs
- CodeIndexerExpression.cs
- Header.cs
- DropShadowBitmapEffect.cs
- WorkflowDebuggerSteppingAttribute.cs
- SplitContainer.cs
- StringFormat.cs
- DictionaryBase.cs
- _ServiceNameStore.cs
- SecurityBindingElement.cs
- EnumConverter.cs
- NameTable.cs
- ObjectDataSourceDisposingEventArgs.cs
- MemberInfoSerializationHolder.cs
- HttpCookie.cs
- SQLMoneyStorage.cs
- UIElementHelper.cs
- Model3DCollection.cs
- HwndHostAutomationPeer.cs
- DataServiceConfiguration.cs
- DateRangeEvent.cs
- Processor.cs
- MailWebEventProvider.cs
- DocumentDesigner.cs
- ContextStack.cs
- StorageMappingItemCollection.cs
- MetadataArtifactLoader.cs
- InputLanguageCollection.cs
- TrackingExtract.cs
- EdmConstants.cs
- InkCollectionBehavior.cs
- HistoryEventArgs.cs
- ColumnPropertiesGroup.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- CqlLexerHelpers.cs
- IndexerNameAttribute.cs
- RoutedPropertyChangedEventArgs.cs
- mda.cs
- CreateUserWizardAutoFormat.cs
- CallbackHandler.cs
- ClassHandlersStore.cs
- PagerSettings.cs
- basevalidator.cs