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
- SecurityTokenRequirement.cs
- CaseExpr.cs
- ThemeDirectoryCompiler.cs
- DecoderNLS.cs
- MetadataPropertyCollection.cs
- FormViewActionList.cs
- WpfSharedBamlSchemaContext.cs
- TextContainerChangeEventArgs.cs
- UDPClient.cs
- TransformerConfigurationWizardBase.cs
- OracleCommandSet.cs
- BuildProviderAppliesToAttribute.cs
- URIFormatException.cs
- WebPartMenuStyle.cs
- StatusBar.cs
- DrawingContextWalker.cs
- COM2IProvidePropertyBuilderHandler.cs
- CharacterHit.cs
- OdbcError.cs
- COSERVERINFO.cs
- BufferCache.cs
- EditingCommands.cs
- NotFiniteNumberException.cs
- assemblycache.cs
- PictureBox.cs
- MemberAccessException.cs
- SQLStringStorage.cs
- StringHandle.cs
- XamlFxTrace.cs
- SymbolResolver.cs
- CompareInfo.cs
- EndpointReference.cs
- localization.cs
- TypefaceMetricsCache.cs
- IfJoinedCondition.cs
- RSAPKCS1SignatureFormatter.cs
- PermissionAttributes.cs
- MediaPlayer.cs
- XmlSchemaSimpleType.cs
- FileEnumerator.cs
- XmlIlVisitor.cs
- initElementDictionary.cs
- KeyPressEvent.cs
- Clause.cs
- ReadOnlyState.cs
- EntityDataSourceDataSelection.cs
- NoPersistScope.cs
- FactoryRecord.cs
- TableRowCollection.cs
- SymbolMethod.cs
- RemotingException.cs
- BuildManager.cs
- ExpressionBuilder.cs
- UpdateException.cs
- HierarchicalDataSourceControl.cs
- MembershipSection.cs
- CheckBox.cs
- ReceiveSecurityHeader.cs
- WebServiceHandler.cs
- Brush.cs
- MachineKey.cs
- FilteredAttributeCollection.cs
- ComplexTypeEmitter.cs
- DropShadowEffect.cs
- SimpleTextLine.cs
- LinearKeyFrames.cs
- SafeFileMappingHandle.cs
- ListViewCommandEventArgs.cs
- SafeEventLogWriteHandle.cs
- QueryAccessibilityHelpEvent.cs
- WriterOutput.cs
- filewebresponse.cs
- WebPartUserCapability.cs
- OleDbPermission.cs
- NavigateEvent.cs
- XPathItem.cs
- PasswordPropertyTextAttribute.cs
- MatrixCamera.cs
- MapPathBasedVirtualPathProvider.cs
- DiscardableAttribute.cs
- Label.cs
- IxmlLineInfo.cs
- MailHeaderInfo.cs
- AnchoredBlock.cs
- IODescriptionAttribute.cs
- BaseParagraph.cs
- IProvider.cs
- FullTextLine.cs
- SafeCoTaskMem.cs
- TableColumn.cs
- MatrixStack.cs
- ListBoxItemWrapperAutomationPeer.cs
- CompilerGlobalScopeAttribute.cs
- GeneralTransform.cs
- Win32.cs
- DataColumnChangeEvent.cs
- UTF32Encoding.cs
- StringHelper.cs
- CircleHotSpot.cs
- GeneralTransform3D.cs