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
- WorkflowInvoker.cs
- RuntimeHelpers.cs
- AsmxEndpointPickerExtension.cs
- EncoderFallback.cs
- ColorBlend.cs
- DbParameterCollectionHelper.cs
- StrokeRenderer.cs
- OleDbConnectionFactory.cs
- Point3DValueSerializer.cs
- ExpressionEditorAttribute.cs
- Expander.cs
- EasingKeyFrames.cs
- KnownBoxes.cs
- OptimisticConcurrencyException.cs
- FontWeights.cs
- InputLangChangeEvent.cs
- BooleanAnimationUsingKeyFrames.cs
- HtmlTableRow.cs
- RadioButtonPopupAdapter.cs
- CheckBoxAutomationPeer.cs
- ImageSource.cs
- Underline.cs
- TextElementEditingBehaviorAttribute.cs
- WebPartConnectVerb.cs
- DecimalFormatter.cs
- BaseCodePageEncoding.cs
- MergeFailedEvent.cs
- _UriSyntax.cs
- CapabilitiesState.cs
- TreeViewCancelEvent.cs
- WebPartConnectionsConfigureVerb.cs
- ListViewItem.cs
- HtmlTitle.cs
- LambdaCompiler.Generated.cs
- HelpEvent.cs
- CapacityStreamGeometryContext.cs
- InputMethod.cs
- ButtonPopupAdapter.cs
- ActiveDesignSurfaceEvent.cs
- QilFactory.cs
- DbMetaDataColumnNames.cs
- COM2IPerPropertyBrowsingHandler.cs
- PackageStore.cs
- XmlSchemaGroupRef.cs
- ListViewUpdatedEventArgs.cs
- SourceLineInfo.cs
- ParserStreamGeometryContext.cs
- Rfc4050KeyFormatter.cs
- SourceSwitch.cs
- ProxyFragment.cs
- XamlFrame.cs
- DesignerView.Commands.cs
- SoapIgnoreAttribute.cs
- TrustManagerPromptUI.cs
- WebRequestModuleElementCollection.cs
- DrawingBrush.cs
- PageMediaSize.cs
- FlowLayoutPanel.cs
- UMPAttributes.cs
- UriTemplateMatch.cs
- AddInDeploymentState.cs
- EventQueueState.cs
- BatchServiceHost.cs
- ValueChangedEventManager.cs
- SmiGettersStream.cs
- DtdParser.cs
- DataGridViewButtonCell.cs
- SqlDependencyListener.cs
- NonVisualControlAttribute.cs
- GridViewItemAutomationPeer.cs
- FontConverter.cs
- PointCollection.cs
- ArgumentNullException.cs
- EdmEntityTypeAttribute.cs
- DataRowChangeEvent.cs
- MetafileEditor.cs
- Int16Storage.cs
- PointValueSerializer.cs
- SmiEventSink.cs
- DirectionalLight.cs
- CompositeTypefaceMetrics.cs
- RuleSettingsCollection.cs
- VirtualPath.cs
- ChangeInterceptorAttribute.cs
- HuffModule.cs
- FontNamesConverter.cs
- UnsafeNativeMethodsCLR.cs
- BitmapEffectGroup.cs
- BooleanAnimationUsingKeyFrames.cs
- DBAsyncResult.cs
- AttachedProperty.cs
- HtmlTernaryTree.cs
- Psha1DerivedKeyGenerator.cs
- SqlRowUpdatingEvent.cs
- Brush.cs
- BitmapEffectGeneralTransform.cs
- XPathPatternParser.cs
- EntityDataSourceWizardForm.cs
- RowBinding.cs
- ColorAnimationUsingKeyFrames.cs