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
- ContextQuery.cs
- NotCondition.cs
- ToolStripItemRenderEventArgs.cs
- SaveFileDialog.cs
- ButtonBaseAutomationPeer.cs
- CqlQuery.cs
- KeyValuePairs.cs
- SynchronizedDispatch.cs
- ping.cs
- newinstructionaction.cs
- ShortcutKeysEditor.cs
- PropertyAccessVisitor.cs
- XmlUnspecifiedAttribute.cs
- CoTaskMemHandle.cs
- LookupBindingPropertiesAttribute.cs
- Journaling.cs
- TextViewBase.cs
- FileLogRecordHeader.cs
- ListBoxItem.cs
- HandlerBase.cs
- StubHelpers.cs
- WebZone.cs
- ExpressionBuilderCollection.cs
- VScrollBar.cs
- StylusCollection.cs
- ValidatorCollection.cs
- SspiNegotiationTokenProvider.cs
- ConstructorNeedsTagAttribute.cs
- PageTheme.cs
- basenumberconverter.cs
- MessageAction.cs
- NotImplementedException.cs
- WindowClosedEventArgs.cs
- PerfCounterSection.cs
- ObjectStateFormatter.cs
- hwndwrapper.cs
- ExecutionContext.cs
- QilReference.cs
- MetafileHeaderEmf.cs
- ZoneLinkButton.cs
- SmtpReplyReader.cs
- XPathMultyIterator.cs
- DecimalAnimationUsingKeyFrames.cs
- ValidateNames.cs
- ListBoxDesigner.cs
- MimePart.cs
- SqlDataSource.cs
- ExpressionVisitor.cs
- XmlDataDocument.cs
- DataViewManager.cs
- WebPartHelpVerb.cs
- Accessible.cs
- TranslateTransform3D.cs
- EtwProvider.cs
- ApplicationInterop.cs
- XslCompiledTransform.cs
- HuffmanTree.cs
- CodeMemberField.cs
- CqlLexerHelpers.cs
- HasCopySemanticsAttribute.cs
- ToolStripOverflowButton.cs
- CodeIdentifier.cs
- Normalization.cs
- InvalidDataException.cs
- Container.cs
- ModelTreeEnumerator.cs
- AutoSizeToolBoxItem.cs
- BrowserDefinition.cs
- ToolStripOverflow.cs
- StrongNameKeyPair.cs
- SerializationObjectManager.cs
- SQLDateTime.cs
- DropDownButton.cs
- EventLogTraceListener.cs
- HtmlEncodedRawTextWriter.cs
- MimeTypeMapper.cs
- streamingZipPartStream.cs
- XmlSchemaCompilationSettings.cs
- Privilege.cs
- BamlLocalizationDictionary.cs
- ModuleConfigurationInfo.cs
- AssemblyBuilder.cs
- WebConfigurationHostFileChange.cs
- UserControlParser.cs
- XmlCodeExporter.cs
- Matrix3D.cs
- DynamicILGenerator.cs
- UpdateManifestForBrowserApplication.cs
- NetNamedPipeBindingCollectionElement.cs
- StoreAnnotationsMap.cs
- GlyphCache.cs
- DataGridPageChangedEventArgs.cs
- metadatamappinghashervisitor.cs
- TextRangeSerialization.cs
- SiteMapProvider.cs
- HttpListenerRequestUriBuilder.cs
- InputScopeAttribute.cs
- ViewCellRelation.cs
- XmlSerializerVersionAttribute.cs
- XmlSecureResolver.cs