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
- ElementHost.cs
- CriticalExceptions.cs
- CommandEventArgs.cs
- ReaderContextStackData.cs
- ByteStreamGeometryContext.cs
- sqlmetadatafactory.cs
- Soap.cs
- SessionStateItemCollection.cs
- TypePresenter.xaml.cs
- DynamicFilter.cs
- OutKeywords.cs
- PrintingPermissionAttribute.cs
- CodeSnippetCompileUnit.cs
- TouchEventArgs.cs
- ScriptingWebServicesSectionGroup.cs
- WebPartCatalogAddVerb.cs
- CompatibleComparer.cs
- GroupBox.cs
- TypeSource.cs
- SplineKeyFrames.cs
- ExpressionPrinter.cs
- AspNetHostingPermission.cs
- XPathNavigatorKeyComparer.cs
- Context.cs
- DiscoveryInnerClientManaged11.cs
- PropertyPanel.cs
- ZipArchive.cs
- _DisconnectOverlappedAsyncResult.cs
- JsonDeserializer.cs
- WebPartExportVerb.cs
- AuthenticationModulesSection.cs
- XmlSchemaIdentityConstraint.cs
- SessionParameter.cs
- HttpInputStream.cs
- ZipIOModeEnforcingStream.cs
- HMACSHA512.cs
- Properties.cs
- ContentPropertyAttribute.cs
- EntityContainer.cs
- PeerCollaborationPermission.cs
- BezierSegment.cs
- Storyboard.cs
- VirtualDirectoryMappingCollection.cs
- CodeEventReferenceExpression.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- AudioFormatConverter.cs
- Int16AnimationBase.cs
- DataGridColumn.cs
- TableItemPattern.cs
- FontCollection.cs
- CellParagraph.cs
- CompModSwitches.cs
- PermissionSetTriple.cs
- GACMembershipCondition.cs
- TextBoxAutoCompleteSourceConverter.cs
- XmlUrlEditor.cs
- Rect3DConverter.cs
- ObfuscationAttribute.cs
- CatalogPartChrome.cs
- XPathParser.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- KeyBinding.cs
- BufferedStream.cs
- InstanceHandleReference.cs
- XmlSerializerVersionAttribute.cs
- OdbcEnvironment.cs
- LocalizableAttribute.cs
- HostDesigntimeLicenseContext.cs
- UpdateManifestForBrowserApplication.cs
- LeafCellTreeNode.cs
- XmlSchemaGroupRef.cs
- PerspectiveCamera.cs
- SafeProcessHandle.cs
- ScriptControlManager.cs
- JpegBitmapDecoder.cs
- SimpleFieldTemplateFactory.cs
- HandlerBase.cs
- XmlDocumentType.cs
- CodeSnippetExpression.cs
- SafeNativeMethods.cs
- HostUtils.cs
- WebColorConverter.cs
- __Error.cs
- HuffmanTree.cs
- SqlConnectionHelper.cs
- DiscreteKeyFrames.cs
- ToolStripDropDownItemDesigner.cs
- ExpressionBuilder.cs
- CompareInfo.cs
- ConfigUtil.cs
- Configuration.cs
- ObjectItemAttributeAssemblyLoader.cs
- unsafenativemethodsother.cs
- HttpException.cs
- WebServiceClientProxyGenerator.cs
- ListViewItem.cs
- HtmlSelect.cs
- MetabaseReader.cs
- HeaderUtility.cs
- FunctionOverloadResolver.cs