Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CqlIdentifiers.cs
- Viewport3DAutomationPeer.cs
- MimeTypeAttribute.cs
- XmlByteStreamWriter.cs
- SendKeys.cs
- FlowLayoutPanel.cs
- SessionState.cs
- WizardPanel.cs
- WebPartConnectionsEventArgs.cs
- RemoveStoryboard.cs
- ObjectAnimationBase.cs
- GridEntry.cs
- ProcessHostServerConfig.cs
- StringValidatorAttribute.cs
- ManagementDateTime.cs
- InsufficientMemoryException.cs
- EntityModelBuildProvider.cs
- CodeMemberProperty.cs
- MimeXmlReflector.cs
- EditorBrowsableAttribute.cs
- ObjectSet.cs
- InfoCardRSACryptoProvider.cs
- MatrixUtil.cs
- ProfileProvider.cs
- StrokeNodeOperations.cs
- ExtentKey.cs
- TraceListeners.cs
- SafeRegistryHandle.cs
- PTUtility.cs
- RowParagraph.cs
- FocusTracker.cs
- OdbcParameter.cs
- RoleManagerModule.cs
- JsonMessageEncoderFactory.cs
- BlurBitmapEffect.cs
- Hashtable.cs
- RulePatternOps.cs
- StartUpEventArgs.cs
- SelectionItemPattern.cs
- XmlNode.cs
- StringValidatorAttribute.cs
- PointAnimation.cs
- TraceData.cs
- ObjectRef.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- GZipDecoder.cs
- PackageRelationshipCollection.cs
- ColorMap.cs
- Menu.cs
- TraceData.cs
- DataBindingExpressionBuilder.cs
- dbenumerator.cs
- MetabaseServerConfig.cs
- SQLMoneyStorage.cs
- XamlReaderHelper.cs
- CompilerHelpers.cs
- MissingMethodException.cs
- DataBindEngine.cs
- XmlSchemaSimpleType.cs
- PrimitiveType.cs
- XmlDigitalSignatureProcessor.cs
- DirectionalLight.cs
- NotFiniteNumberException.cs
- DataControlHelper.cs
- OdbcParameterCollection.cs
- ISCIIEncoding.cs
- QueryOpeningEnumerator.cs
- RegistrySecurity.cs
- CodeTypeReferenceSerializer.cs
- FontWeight.cs
- Transform.cs
- DemultiplexingClientMessageFormatter.cs
- SiteMembershipCondition.cs
- AuthorizationSection.cs
- HttpModuleCollection.cs
- WindowsAltTab.cs
- BamlBinaryWriter.cs
- DbConnectionPoolGroup.cs
- TextEditor.cs
- NoClickablePointException.cs
- DataGridPagingPage.cs
- ValidatorCompatibilityHelper.cs
- WinEventTracker.cs
- XNodeNavigator.cs
- LogLogRecordHeader.cs
- ToolStripProgressBar.cs
- FormsAuthenticationModule.cs
- NodeLabelEditEvent.cs
- InfoCardClaimCollection.cs
- cookiecontainer.cs
- DataControlFieldCell.cs
- ResourceProviderFactory.cs
- ListMarkerLine.cs
- FileFormatException.cs
- ItemTypeToolStripMenuItem.cs
- SafeMemoryMappedFileHandle.cs
- odbcmetadatacollectionnames.cs
- TraceFilter.cs
- WeakReferenceKey.cs
- TextAutomationPeer.cs