Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- QuaternionKeyFrameCollection.cs
- ToolBar.cs
- Nullable.cs
- BooleanFacetDescriptionElement.cs
- GenerateTemporaryTargetAssembly.cs
- Source.cs
- TransformConverter.cs
- odbcmetadatacolumnnames.cs
- EventHandlersStore.cs
- PKCS1MaskGenerationMethod.cs
- ListCollectionView.cs
- TextSegment.cs
- Keyboard.cs
- LoadedOrUnloadedOperation.cs
- SubstitutionList.cs
- JavascriptCallbackResponseProperty.cs
- MenuItemBindingCollection.cs
- TargetControlTypeAttribute.cs
- AssemblyCollection.cs
- EventLogInformation.cs
- ResourceExpressionBuilder.cs
- BindingOperations.cs
- SchemaNamespaceManager.cs
- BamlResourceDeserializer.cs
- NonParentingControl.cs
- ClientSponsor.cs
- StreamUpdate.cs
- ProtectedConfigurationProviderCollection.cs
- ErrorFormatterPage.cs
- AssemblyCacheEntry.cs
- MetadataSerializer.cs
- Column.cs
- StringResourceManager.cs
- TraceHandlerErrorFormatter.cs
- MetadataExchangeBindings.cs
- StringArrayConverter.cs
- ScrollContentPresenter.cs
- Point4D.cs
- DataGridViewCellEventArgs.cs
- RoutedEventValueSerializer.cs
- TextSelectionHelper.cs
- DrawingGroup.cs
- InteropAutomationProvider.cs
- XmlBinaryWriter.cs
- WmlLabelAdapter.cs
- Rotation3DKeyFrameCollection.cs
- HTTPRemotingHandler.cs
- WindowsBrush.cs
- QueueAccessMode.cs
- OdbcCommandBuilder.cs
- SpeechAudioFormatInfo.cs
- DataQuery.cs
- RelationshipDetailsCollection.cs
- ToolStripDropDownButton.cs
- FrameworkPropertyMetadata.cs
- XamlTypeMapper.cs
- CollectionsUtil.cs
- ArrayTypeMismatchException.cs
- ToolStripContainerActionList.cs
- XmlCompatibilityReader.cs
- ExpressionBuilder.cs
- TimeSpanConverter.cs
- HtmlUtf8RawTextWriter.cs
- localization.cs
- FontInfo.cs
- NameTable.cs
- XmlSerializableServices.cs
- CatalogPartCollection.cs
- StringUtil.cs
- NetworkCredential.cs
- EDesignUtil.cs
- WebPartDeleteVerb.cs
- NullableDecimalSumAggregationOperator.cs
- StrongNamePublicKeyBlob.cs
- ColorDialog.cs
- VisualProxy.cs
- SqlBuffer.cs
- IImplicitResourceProvider.cs
- WpfXamlType.cs
- TextServicesProperty.cs
- EventMappingSettingsCollection.cs
- Size.cs
- FillBehavior.cs
- SocketCache.cs
- TableProviderWrapper.cs
- SafeRightsManagementSessionHandle.cs
- ButtonPopupAdapter.cs
- COM2PropertyDescriptor.cs
- SafeNativeMethods.cs
- AttachInfo.cs
- Binding.cs
- GridProviderWrapper.cs
- MatchAttribute.cs
- WebPartHeaderCloseVerb.cs
- TextDecoration.cs
- CountAggregationOperator.cs
- ToolStripRenderer.cs
- CompressEmulationStream.cs
- SecurityContext.cs
- CodeCatchClause.cs