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
- PostBackTrigger.cs
- ADMembershipProvider.cs
- UriExt.cs
- NonceToken.cs
- SessionParameter.cs
- TreeChangeInfo.cs
- Emitter.cs
- DrawingGroup.cs
- StorageEntitySetMapping.cs
- MessageSmuggler.cs
- KnownBoxes.cs
- XmlQueryTypeFactory.cs
- NativeMethodsCLR.cs
- DataBindingExpressionBuilder.cs
- WebBrowserEvent.cs
- XhtmlBasicTextBoxAdapter.cs
- CorrelationManager.cs
- XmlException.cs
- CodeAttachEventStatement.cs
- WebRequestModuleElementCollection.cs
- Graphics.cs
- CompileLiteralTextParser.cs
- ConnectionPoolManager.cs
- HttpDebugHandler.cs
- Tablet.cs
- MetaModel.cs
- StdValidatorsAndConverters.cs
- XmlAutoDetectWriter.cs
- ListItemCollection.cs
- ColorBlend.cs
- CompareValidator.cs
- DataRowView.cs
- DeriveBytes.cs
- Page.cs
- CodeBlockBuilder.cs
- ComponentManagerBroker.cs
- Win32Exception.cs
- AttachmentCollection.cs
- StateMachineWorkflowInstance.cs
- UnitySerializationHolder.cs
- SqlAliaser.cs
- assemblycache.cs
- SelectionItemPattern.cs
- SolidColorBrush.cs
- BlurBitmapEffect.cs
- COM2FontConverter.cs
- HttpApplicationFactory.cs
- EntityPropertyMappingAttribute.cs
- ProfileEventArgs.cs
- HierarchicalDataSourceControl.cs
- updatecommandorderer.cs
- ArraySegment.cs
- WebPartConnectionsCloseVerb.cs
- MailMessageEventArgs.cs
- webproxy.cs
- CodeGeneratorAttribute.cs
- NegotiationTokenAuthenticatorState.cs
- ReverseInheritProperty.cs
- XmlAttributeOverrides.cs
- FormatterConverter.cs
- MsmqHostedTransportConfiguration.cs
- AssociationEndMember.cs
- XmlQueryStaticData.cs
- RequestStatusBarUpdateEventArgs.cs
- PrivateFontCollection.cs
- NameSpaceExtractor.cs
- Exceptions.cs
- SQLDoubleStorage.cs
- SaveFileDialog.cs
- EnterpriseServicesHelper.cs
- SerializationUtility.cs
- SqlNodeAnnotations.cs
- Baml2006SchemaContext.cs
- LocatorGroup.cs
- CodeVariableReferenceExpression.cs
- XmlTypeMapping.cs
- SchemaObjectWriter.cs
- TypeExtensionConverter.cs
- ZoneLinkButton.cs
- Stack.cs
- SizeF.cs
- InvokeBase.cs
- OdbcDataReader.cs
- XPathSelfQuery.cs
- smtppermission.cs
- MouseEvent.cs
- MissingMemberException.cs
- RequestNavigateEventArgs.cs
- ReverseComparer.cs
- WorkflowDesigner.cs
- URLIdentityPermission.cs
- InternalResources.cs
- ToolStripOverflow.cs
- MobileSysDescriptionAttribute.cs
- PageCatalogPart.cs
- PenLineCapValidation.cs
- VisualStyleTypesAndProperties.cs
- RecognizedAudio.cs
- _ListenerRequestStream.cs
- ImageListUtils.cs