Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / TabControlCancelEvent.cs / 1305376 / 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
- UnaryNode.cs
- Task.cs
- Config.cs
- DataGridViewElement.cs
- ProcessModuleCollection.cs
- RequestCacheEntry.cs
- Matrix3DStack.cs
- DataServiceRequestOfT.cs
- ValueCollectionParameterReader.cs
- EmptyReadOnlyDictionaryInternal.cs
- ExpandCollapseProviderWrapper.cs
- TabletDeviceInfo.cs
- basevalidator.cs
- TaiwanCalendar.cs
- SchemaCollectionCompiler.cs
- UserControl.cs
- Condition.cs
- COAUTHINFO.cs
- PipeStream.cs
- NamespaceDisplay.xaml.cs
- Events.cs
- StreamInfo.cs
- UdpDuplexChannel.cs
- MetadataPropertyAttribute.cs
- XmlSchemaGroupRef.cs
- CodeTypeDeclaration.cs
- SqlTransaction.cs
- DeviceContexts.cs
- EntityConnectionStringBuilderItem.cs
- BinaryConverter.cs
- OutputCacheSettingsSection.cs
- EmissiveMaterial.cs
- PerformanceCounterManager.cs
- TemplatedMailWebEventProvider.cs
- Preprocessor.cs
- PeerDuplexChannelListener.cs
- DataGridViewCell.cs
- CounterNameConverter.cs
- ReflectEventDescriptor.cs
- WindowsTokenRoleProvider.cs
- DataGridPageChangedEventArgs.cs
- WmpBitmapEncoder.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Transform3D.cs
- RegexCompilationInfo.cs
- SafeRightsManagementSessionHandle.cs
- FilterException.cs
- DesignerToolStripControlHost.cs
- SoapAttributeOverrides.cs
- VersionedStreamOwner.cs
- LinqDataSourceDisposeEventArgs.cs
- KoreanCalendar.cs
- SafeIUnknown.cs
- TextElementCollectionHelper.cs
- BlockUIContainer.cs
- UnionCodeGroup.cs
- DataGridItemEventArgs.cs
- HandleCollector.cs
- Typeface.cs
- StreamInfo.cs
- TextBoxRenderer.cs
- ListViewInsertEventArgs.cs
- DesignParameter.cs
- Scene3D.cs
- StringFreezingAttribute.cs
- Boolean.cs
- PersistenceException.cs
- ContextBase.cs
- OleDbRowUpdatingEvent.cs
- ServicePoint.cs
- NavigationWindowAutomationPeer.cs
- SqlLiftWhereClauses.cs
- X509SecurityTokenProvider.cs
- Encoding.cs
- LiteralTextParser.cs
- UseManagedPresentationBindingElementImporter.cs
- GridViewCommandEventArgs.cs
- XmlSchemaExporter.cs
- DbSetClause.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- GeneralTransform3DGroup.cs
- ContextMenu.cs
- DesignerActionHeaderItem.cs
- sitestring.cs
- XmlWellformedWriter.cs
- DefaultValueAttribute.cs
- CroppedBitmap.cs
- FamilyTypeface.cs
- ImmComposition.cs
- MergeFilterQuery.cs
- TextCharacters.cs
- StandardTransformFactory.cs
- TextBoxBase.cs
- ToolboxItemCollection.cs
- StringOutput.cs
- AuthenticationModuleElement.cs
- ScrollBar.cs
- ControlDesigner.cs
- QuaternionValueSerializer.cs
- ImplicitInputBrush.cs