Code:
/ 4.0 / 4.0 / untmp / 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. /// /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Pair.cs
- CellParagraph.cs
- CodeStatementCollection.cs
- IntegerValidator.cs
- EventLogger.cs
- DBPropSet.cs
- GiveFeedbackEvent.cs
- WebPartVerbsEventArgs.cs
- WebBrowserDocumentCompletedEventHandler.cs
- WindowsClaimSet.cs
- RadialGradientBrush.cs
- Control.cs
- SqlDependency.cs
- TrackingLocation.cs
- GeneralTransformGroup.cs
- UiaCoreApi.cs
- TextTreeExtractElementUndoUnit.cs
- ObjectRef.cs
- ToolStripCollectionEditor.cs
- SequenceDesignerAccessibleObject.cs
- TransformedBitmap.cs
- WebBrowser.cs
- FillErrorEventArgs.cs
- CatalogUtil.cs
- SessionEndingCancelEventArgs.cs
- DPAPIProtectedConfigurationProvider.cs
- CompiledRegexRunnerFactory.cs
- PathTooLongException.cs
- BoolExpression.cs
- ArrangedElementCollection.cs
- BufferedOutputAsyncStream.cs
- _FixedSizeReader.cs
- FixedPage.cs
- EdmRelationshipRoleAttribute.cs
- HtmlToClrEventProxy.cs
- XmlSignificantWhitespace.cs
- HelpKeywordAttribute.cs
- RotateTransform3D.cs
- GeneratedCodeAttribute.cs
- BaseCodePageEncoding.cs
- TailCallAnalyzer.cs
- TextOnlyOutput.cs
- VirtualizingStackPanel.cs
- WebZone.cs
- URI.cs
- ZipIOExtraFieldPaddingElement.cs
- StringBuilder.cs
- SafeBitVector32.cs
- ServiceModelTimeSpanValidator.cs
- RequiredAttributeAttribute.cs
- DataGridToolTip.cs
- ProbeRequestResponseAsyncResult.cs
- XmlRootAttribute.cs
- DataFieldConverter.cs
- TextServicesManager.cs
- ValidatedControlConverter.cs
- InvokeHandlers.cs
- ProxyHwnd.cs
- BooleanStorage.cs
- SwitchCase.cs
- SchemeSettingElementCollection.cs
- returneventsaver.cs
- DifferencingCollection.cs
- OracleCommandBuilder.cs
- MethodResolver.cs
- RtfToken.cs
- TemplateColumn.cs
- HtmlInputHidden.cs
- NullableFloatMinMaxAggregationOperator.cs
- TemplateContentLoader.cs
- FixedTextPointer.cs
- PeerOutputChannel.cs
- IPEndPoint.cs
- InstancePersistence.cs
- SystemColorTracker.cs
- StyleCollection.cs
- Label.cs
- OleDbError.cs
- TCPClient.cs
- SupportingTokenBindingElement.cs
- ClientConfigurationHost.cs
- HierarchicalDataBoundControl.cs
- Win32Interop.cs
- OdbcRowUpdatingEvent.cs
- Rights.cs
- DataGridParentRows.cs
- EdmProperty.cs
- BitHelper.cs
- WebControl.cs
- metadatamappinghashervisitor.cs
- LinqDataSourceContextEventArgs.cs
- UTF8Encoding.cs
- MonthCalendar.cs
- FactoryMaker.cs
- EntityWithChangeTrackerStrategy.cs
- XmlTextAttribute.cs
- XPathParser.cs
- EventProxy.cs
- IERequestCache.cs
- Bitmap.cs