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
- BridgeDataReader.cs
- DependencyPropertyKind.cs
- ExpiredSecurityTokenException.cs
- Stream.cs
- EmptyElement.cs
- FixedSOMTextRun.cs
- PropertyGridCommands.cs
- SerializationException.cs
- XmlSchemaExporter.cs
- XmlAttributeCollection.cs
- SqlReferenceCollection.cs
- mactripleDES.cs
- FileLoadException.cs
- ConnectionString.cs
- ListManagerBindingsCollection.cs
- CurrentChangingEventManager.cs
- PDBReader.cs
- MediaTimeline.cs
- SqlLiftIndependentRowExpressions.cs
- CalloutQueueItem.cs
- RedirectionProxy.cs
- HttpWebRequestElement.cs
- Avt.cs
- OdbcEnvironment.cs
- Vector3DAnimationBase.cs
- FormsAuthenticationModule.cs
- UnsafeNativeMethods.cs
- ClearTypeHintValidation.cs
- NavigationPropertySingletonExpression.cs
- Point3DCollectionConverter.cs
- AsyncOperationManager.cs
- TrackPoint.cs
- UniqueConstraint.cs
- TreeView.cs
- DataMisalignedException.cs
- EditingMode.cs
- PageClientProxyGenerator.cs
- SqlClientWrapperSmiStreamChars.cs
- BitmapEffectOutputConnector.cs
- CroppedBitmap.cs
- InputQueue.cs
- ButtonBase.cs
- __Filters.cs
- RegistrationServices.cs
- WebPartEditorCancelVerb.cs
- Viewport3DAutomationPeer.cs
- HighContrastHelper.cs
- SoapDocumentMethodAttribute.cs
- InternalsVisibleToAttribute.cs
- ActivitySurrogateSelector.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- RTLAwareMessageBox.cs
- Emitter.cs
- DataGridCellsPresenter.cs
- CompilerScopeManager.cs
- RelativeSource.cs
- PageRequestManager.cs
- keycontainerpermission.cs
- ExecutionContext.cs
- ISFClipboardData.cs
- UITypeEditors.cs
- KeyedCollection.cs
- _RequestCacheProtocol.cs
- DataGridViewAccessibleObject.cs
- NumberAction.cs
- TextEffectCollection.cs
- RequestTimeoutManager.cs
- XmlAttributeProperties.cs
- ExpanderAutomationPeer.cs
- WorkflowLayouts.cs
- RewritingValidator.cs
- FontNamesConverter.cs
- FrameworkTemplate.cs
- XamlStream.cs
- TreeViewItemAutomationPeer.cs
- SelectManyQueryOperator.cs
- PropertyOverridesDialog.cs
- httpstaticobjectscollection.cs
- ResumeStoryboard.cs
- NavigationService.cs
- SHA384CryptoServiceProvider.cs
- ArraySegment.cs
- MetadataPropertyAttribute.cs
- AssemblyLoader.cs
- TableLayoutCellPaintEventArgs.cs
- UIPropertyMetadata.cs
- XmlSchemaSet.cs
- OleDbConnection.cs
- CancelEventArgs.cs
- XmlSchemaValidator.cs
- StylusDownEventArgs.cs
- RefreshPropertiesAttribute.cs
- PostBackTrigger.cs
- CustomActivityDesigner.cs
- TextEditorSelection.cs
- RelationshipConverter.cs
- PackageStore.cs
- ExeContext.cs
- DbProviderFactory.cs
- XslAstAnalyzer.cs