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
- MediaTimeline.cs
- ContractUtils.cs
- TileBrush.cs
- TryCatch.cs
- WebPartDisplayModeCancelEventArgs.cs
- RowTypeElement.cs
- IfAction.cs
- AxisAngleRotation3D.cs
- LongTypeConverter.cs
- CaseInsensitiveOrdinalStringComparer.cs
- QuotaThrottle.cs
- DictionaryChange.cs
- SqlExpander.cs
- CellParaClient.cs
- ArrayWithOffset.cs
- BinaryObjectReader.cs
- ToolStripOverflow.cs
- MimeObjectFactory.cs
- PointKeyFrameCollection.cs
- SubMenuStyleCollection.cs
- EventRoute.cs
- UserControlParser.cs
- VisualCollection.cs
- ExtentJoinTreeNode.cs
- GroupBox.cs
- Privilege.cs
- DeflateStreamAsyncResult.cs
- XmlAttributeOverrides.cs
- PackageDigitalSignatureManager.cs
- WindowsAuthenticationEventArgs.cs
- TimeZoneNotFoundException.cs
- ProviderUtil.cs
- Border.cs
- NativeMethods.cs
- RequestNavigateEventArgs.cs
- NetPeerTcpBinding.cs
- BitVec.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- MatchingStyle.cs
- NotCondition.cs
- Track.cs
- FileSystemWatcher.cs
- StylusPointCollection.cs
- GenerateHelper.cs
- CriticalFinalizerObject.cs
- UnicastIPAddressInformationCollection.cs
- ProxyWebPartConnectionCollection.cs
- ParameterBuilder.cs
- ReadOnlyDictionary.cs
- ApplyHostConfigurationBehavior.cs
- DataServiceRequest.cs
- linebase.cs
- TableCell.cs
- Rotation3DAnimation.cs
- COM2PropertyPageUITypeConverter.cs
- DefaultValueConverter.cs
- MouseActionValueSerializer.cs
- CodeNamespaceImportCollection.cs
- DesignerProperties.cs
- SettingsContext.cs
- ListBindingConverter.cs
- ProcessHostFactoryHelper.cs
- ClientScriptManagerWrapper.cs
- FlowNode.cs
- DPCustomTypeDescriptor.cs
- CollectionViewGroupRoot.cs
- PriorityBindingExpression.cs
- ImageDesigner.cs
- EventlogProvider.cs
- PtsPage.cs
- FileDialog.cs
- NativeRecognizer.cs
- JavaScriptString.cs
- EntryIndex.cs
- ConfigurationSection.cs
- RMPermissions.cs
- QueryStringParameter.cs
- ClientSettingsStore.cs
- WebEventCodes.cs
- RegistrationServices.cs
- CodeConditionStatement.cs
- ValidationSummary.cs
- ScrollItemProviderWrapper.cs
- PKCS1MaskGenerationMethod.cs
- DetailsViewRow.cs
- SByteConverter.cs
- ArgumentOutOfRangeException.cs
- LookupNode.cs
- HMACMD5.cs
- XmlWellformedWriterHelpers.cs
- XmlIncludeAttribute.cs
- IdnElement.cs
- ListParagraph.cs
- PointAnimationUsingKeyFrames.cs
- TabControlAutomationPeer.cs
- CurrentChangingEventArgs.cs
- SvcMapFileLoader.cs
- CompilerLocalReference.cs
- TreeViewAutomationPeer.cs
- EdmSchemaError.cs