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
- EdmSchemaError.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- TargetInvocationException.cs
- XmlDataDocument.cs
- AxHostDesigner.cs
- LateBoundBitmapDecoder.cs
- PointIndependentAnimationStorage.cs
- GridViewUpdateEventArgs.cs
- _NegotiateClient.cs
- AmbientLight.cs
- PartialTrustVisibleAssemblyCollection.cs
- SendMailErrorEventArgs.cs
- RoleManagerSection.cs
- FormViewUpdateEventArgs.cs
- ConnectionConsumerAttribute.cs
- LinkedList.cs
- CharAnimationUsingKeyFrames.cs
- StatusStrip.cs
- SmiGettersStream.cs
- ClientScriptManager.cs
- SecurityRequiresReviewAttribute.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- EntityCommand.cs
- ValidationEventArgs.cs
- GestureRecognitionResult.cs
- WorkflowQueueInfo.cs
- PcmConverter.cs
- CodeVariableReferenceExpression.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- QuaternionValueSerializer.cs
- DesignerSerializerAttribute.cs
- DataGridSortCommandEventArgs.cs
- Soap12ProtocolReflector.cs
- ListBoxItemWrapperAutomationPeer.cs
- WSSecurityPolicy.cs
- SqlDesignerDataSourceView.cs
- TextSelection.cs
- IsolatedStorageFilePermission.cs
- TdsParserStaticMethods.cs
- CoreSwitches.cs
- FilterQueryOptionExpression.cs
- SmtpDigestAuthenticationModule.cs
- ComponentCommands.cs
- RemoteWebConfigurationHostStream.cs
- DesignerImageAdapter.cs
- ConnectionDemuxer.cs
- SourceSwitch.cs
- baseaxisquery.cs
- ToolStripContentPanelDesigner.cs
- ServiceMemoryGates.cs
- FaultContext.cs
- PriorityBinding.cs
- TextServicesCompartmentEventSink.cs
- RequiredFieldValidator.cs
- HtmlElementEventArgs.cs
- keycontainerpermission.cs
- FormsAuthenticationUserCollection.cs
- SqlXml.cs
- RulePatternOps.cs
- KeyboardNavigation.cs
- OdbcUtils.cs
- InvalidDataContractException.cs
- SID.cs
- SqlVisitor.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- IdentityReference.cs
- ExclusiveCanonicalizationTransform.cs
- MSHTMLHost.cs
- LinkArea.cs
- _HeaderInfoTable.cs
- X509Certificate.cs
- GridViewPageEventArgs.cs
- TypeSystemProvider.cs
- SchemaAttDef.cs
- DataControlFieldCell.cs
- DefaultMemberAttribute.cs
- Margins.cs
- ScaleTransform.cs
- GenericTypeParameterBuilder.cs
- SqlParameterizer.cs
- EpmCustomContentWriterNodeData.cs
- Line.cs
- WebPartCancelEventArgs.cs
- Misc.cs
- HttpCacheParams.cs
- HtmlInputImage.cs
- ChangesetResponse.cs
- ItemsPresenter.cs
- ParseChildrenAsPropertiesAttribute.cs
- SQLBinary.cs
- DataGridViewElement.cs
- _IPv4Address.cs
- WebPartConnectionsCancelEventArgs.cs
- DataTableCollection.cs
- SoapObjectReader.cs
- Constants.cs
- GenericPrincipal.cs
- ExpressionWriter.cs
- StorageConditionPropertyMapping.cs
- SettingsPropertyValue.cs