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
- Message.cs
- HttpClientCertificate.cs
- ValueHandle.cs
- FormViewDeleteEventArgs.cs
- MenuItemStyleCollection.cs
- AdvancedBindingEditor.cs
- EdmTypeAttribute.cs
- TypeReference.cs
- XmlNodeReader.cs
- SoapUnknownHeader.cs
- ServiceOperationWrapper.cs
- ArcSegment.cs
- DateTimeAutomationPeer.cs
- SettingsPropertyValue.cs
- ProviderMetadataCachedInformation.cs
- SQLBinary.cs
- ValueUnavailableException.cs
- CacheSection.cs
- TimelineClockCollection.cs
- DiagnosticTraceSource.cs
- OleDbParameterCollection.cs
- ErrorStyle.cs
- TryExpression.cs
- DemultiplexingClientMessageFormatter.cs
- StackBuilderSink.cs
- SchemaNotation.cs
- CqlLexer.cs
- FilteredDataSetHelper.cs
- StorageBasedPackageProperties.cs
- XAMLParseException.cs
- MailWriter.cs
- SecurityState.cs
- MetadataCache.cs
- InvokePatternIdentifiers.cs
- XdrBuilder.cs
- NameSpaceExtractor.cs
- XmlSchemaValidator.cs
- PolicyStatement.cs
- ProgressPage.cs
- XMLSchema.cs
- QuaternionAnimation.cs
- Addressing.cs
- unitconverter.cs
- DataContractSerializerElement.cs
- InkCollectionBehavior.cs
- QilPatternVisitor.cs
- RichTextBoxAutomationPeer.cs
- WeakReadOnlyCollection.cs
- DoubleLinkList.cs
- ToolStripOverflowButton.cs
- DocumentApplicationJournalEntryEventArgs.cs
- TogglePattern.cs
- EventQueueState.cs
- WindowsToolbarAsMenu.cs
- EventHandlingScope.cs
- XmlSchemaAnnotated.cs
- CopyOnWriteList.cs
- JsonByteArrayDataContract.cs
- ConfigDefinitionUpdates.cs
- BindingExpression.cs
- DataServiceOperationContext.cs
- mda.cs
- UnmanagedMemoryStreamWrapper.cs
- DataTableNewRowEvent.cs
- Documentation.cs
- PersistencePipeline.cs
- InternalResources.cs
- RightsManagementLicense.cs
- FormViewDeleteEventArgs.cs
- EditCommandColumn.cs
- IgnoreDeviceFilterElementCollection.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- CancelEventArgs.cs
- URLIdentityPermission.cs
- ElementNotEnabledException.cs
- Pens.cs
- _NestedMultipleAsyncResult.cs
- BinaryConverter.cs
- AutomationElementCollection.cs
- WebPartVerbCollection.cs
- BufferedGraphicsManager.cs
- FileUtil.cs
- MailAddressParser.cs
- DbExpressionVisitor_TResultType.cs
- ApplicationTrust.cs
- HtmlInputCheckBox.cs
- ChannelPool.cs
- CSharpCodeProvider.cs
- PersonalizationState.cs
- OdbcEnvironmentHandle.cs
- Label.cs
- FlowchartDesignerCommands.cs
- KeyboardEventArgs.cs
- SystemIPv6InterfaceProperties.cs
- ElementHostAutomationPeer.cs
- LabelDesigner.cs
- ParameterCollection.cs
- WindowsListViewItemCheckBox.cs
- AppLevelCompilationSectionCache.cs
- FieldMetadata.cs