Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ProcessModuleDesigner.cs
- PropertyFilter.cs
- UnsafeNativeMethods.cs
- ContentControl.cs
- TextEditor.cs
- HtmlWindowCollection.cs
- ColorInterpolationModeValidation.cs
- TranslateTransform3D.cs
- SourceSwitch.cs
- DataObjectEventArgs.cs
- MetabaseServerConfig.cs
- WmlListAdapter.cs
- PieceDirectory.cs
- ContentPosition.cs
- WaitHandle.cs
- NameSpaceExtractor.cs
- XmlValueConverter.cs
- DataControlFieldCollection.cs
- PersonalizationDictionary.cs
- ToolStripButton.cs
- MetadataArtifactLoaderResource.cs
- FrameworkTextComposition.cs
- CachedCompositeFamily.cs
- NewExpression.cs
- Filter.cs
- HtmlDocument.cs
- AssemblyContextControlItem.cs
- ObjectAssociationEndMapping.cs
- CodeDirectoryCompiler.cs
- DeviceSpecific.cs
- KeyboardNavigation.cs
- BooleanToVisibilityConverter.cs
- Serializer.cs
- ConfigurationValues.cs
- AuthenticatingEventArgs.cs
- HMACSHA384.cs
- XPathNode.cs
- RadioButtonRenderer.cs
- CellTreeNodeVisitors.cs
- DesignerDataConnection.cs
- RegexGroupCollection.cs
- LayoutTableCell.cs
- COM2ComponentEditor.cs
- OdbcConnectionString.cs
- DataPagerFieldCommandEventArgs.cs
- URL.cs
- PropertyItem.cs
- dbenumerator.cs
- ProtocolViolationException.cs
- SapiRecognizer.cs
- SafeIUnknown.cs
- ListViewInsertionMark.cs
- PublisherMembershipCondition.cs
- WrappedIUnknown.cs
- DeclarativeExpressionConditionDeclaration.cs
- DataConnectionHelper.cs
- WindowsImpersonationContext.cs
- RevocationPoint.cs
- MetadataArtifactLoaderCompositeResource.cs
- DataGridRelationshipRow.cs
- KoreanLunisolarCalendar.cs
- SpellerStatusTable.cs
- ReturnEventArgs.cs
- CurrencyManager.cs
- XmlNamespaceMappingCollection.cs
- Underline.cs
- RectangleHotSpot.cs
- Token.cs
- TypeUtil.cs
- FigureParaClient.cs
- DataContractSerializerSection.cs
- DecryptRequest.cs
- MachinePropertyVariants.cs
- FunctionGenerator.cs
- ProvideValueServiceProvider.cs
- XmlSchemaSimpleContentRestriction.cs
- DBSchemaTable.cs
- TileModeValidation.cs
- ChildChangedEventArgs.cs
- AttributeUsageAttribute.cs
- TreeBuilderBamlTranslator.cs
- unitconverter.cs
- WindowsStatusBar.cs
- PngBitmapEncoder.cs
- ProviderSettings.cs
- EventLogPropertySelector.cs
- SevenBitStream.cs
- RefExpr.cs
- BitmapPalette.cs
- SerializeAbsoluteContext.cs
- TextContainerChangedEventArgs.cs
- ZipIORawDataFileBlock.cs
- RewritingProcessor.cs
- EmptyEnumerable.cs
- DomainUpDown.cs
- MultiBindingExpression.cs
- TextEditorMouse.cs
- SymbolEqualComparer.cs
- Select.cs
- Semaphore.cs