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
- SiteMapSection.cs
- LicenseManager.cs
- ContentWrapperAttribute.cs
- CompilerState.cs
- WorkflowDefinitionDispenser.cs
- Util.cs
- ControlCodeDomSerializer.cs
- EdmEntityTypeAttribute.cs
- SystemWebExtensionsSectionGroup.cs
- ToolStripGrip.cs
- SystemIPGlobalProperties.cs
- Table.cs
- TextEffect.cs
- InvalidComObjectException.cs
- GB18030Encoding.cs
- DataGridViewSelectedRowCollection.cs
- AuthenticationModuleElement.cs
- OrderedDictionary.cs
- RemoveStoryboard.cs
- HostProtectionPermission.cs
- SQLUtility.cs
- TargetParameterCountException.cs
- TransformerConfigurationWizardBase.cs
- StreamInfo.cs
- DataGridViewRowPostPaintEventArgs.cs
- ArraySubsetEnumerator.cs
- Wow64ConfigurationLoader.cs
- Crc32Helper.cs
- itemelement.cs
- ContentHostHelper.cs
- ParamArrayAttribute.cs
- XmlQualifiedName.cs
- DebugHandleTracker.cs
- BrowserCapabilitiesFactory.cs
- AssemblyCacheEntry.cs
- DataObjectCopyingEventArgs.cs
- LineGeometry.cs
- _TimerThread.cs
- PrintDocument.cs
- GridToolTip.cs
- PeerInvitationResponse.cs
- TreeNodeSelectionProcessor.cs
- InputReport.cs
- DynamicMethod.cs
- MouseBinding.cs
- IgnoreFlushAndCloseStream.cs
- TypeUtil.cs
- RectangleGeometry.cs
- TransformConverter.cs
- SqlUserDefinedTypeAttribute.cs
- CodeMemberProperty.cs
- PermissionAttributes.cs
- ValuePattern.cs
- DefaultClaimSet.cs
- IfAction.cs
- Menu.cs
- DataColumnMappingCollection.cs
- FixedSOMImage.cs
- ListControl.cs
- Operand.cs
- OracleConnectionStringBuilder.cs
- XmlSchema.cs
- RawUIStateInputReport.cs
- BaseHashHelper.cs
- NameSpaceExtractor.cs
- ErrorRuntimeConfig.cs
- HealthMonitoringSection.cs
- ChangeBlockUndoRecord.cs
- ObjectSet.cs
- HScrollProperties.cs
- RegisteredDisposeScript.cs
- AppSettingsSection.cs
- DataControlField.cs
- ClockGroup.cs
- DiscreteKeyFrames.cs
- XmlLinkedNode.cs
- SqlBulkCopyColumnMappingCollection.cs
- MethodBody.cs
- CalendarDay.cs
- PriorityQueue.cs
- PrePostDescendentsWalker.cs
- Decorator.cs
- ProxyWebPartManager.cs
- BinaryParser.cs
- SecurityUtils.cs
- Stackframe.cs
- IssuanceLicense.cs
- ValuePattern.cs
- WebHttpSecurityModeHelper.cs
- XamlSerializationHelper.cs
- CodeAccessSecurityEngine.cs
- BitmapCodecInfoInternal.cs
- ParagraphVisual.cs
- TableLayoutPanelBehavior.cs
- HttpsTransportBindingElement.cs
- CodeGeneratorOptions.cs
- CodeBinaryOperatorExpression.cs
- TemplateXamlTreeBuilder.cs
- TableRowGroupCollection.cs
- WebCategoryAttribute.cs