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
- XmlIlTypeHelper.cs
- FontConverter.cs
- TrackingStringDictionary.cs
- XPathSingletonIterator.cs
- DataServiceClientException.cs
- PathFigure.cs
- Attribute.cs
- InheritedPropertyDescriptor.cs
- MsmqBindingElementBase.cs
- BadImageFormatException.cs
- hwndwrapper.cs
- Material.cs
- AsyncOperationManager.cs
- RegexWorker.cs
- ObjectListDesigner.cs
- HostingMessageProperty.cs
- BamlRecords.cs
- HTMLTagNameToTypeMapper.cs
- ClientSponsor.cs
- CodeIterationStatement.cs
- SystemIPInterfaceStatistics.cs
- QueryExpr.cs
- DataStorage.cs
- UserInitiatedRoutedEventPermission.cs
- DataSourceCacheDurationConverter.cs
- IPAddress.cs
- ComponentEditorPage.cs
- QueryResult.cs
- DivideByZeroException.cs
- AsyncStreamReader.cs
- UnknownBitmapDecoder.cs
- BitStack.cs
- PropertyDescriptorComparer.cs
- CompoundFileDeflateTransform.cs
- XDeferredAxisSource.cs
- WindowVisualStateTracker.cs
- StandardBindingElement.cs
- ScriptingWebServicesSectionGroup.cs
- XmlHierarchicalEnumerable.cs
- RandomNumberGenerator.cs
- InvalidCommandTreeException.cs
- recordstatefactory.cs
- SafeNativeMethods.cs
- MarkupWriter.cs
- Evaluator.cs
- SqlMetaData.cs
- coordinator.cs
- ConfigurationException.cs
- GridItemPattern.cs
- WmlSelectionListAdapter.cs
- RewritingProcessor.cs
- TripleDES.cs
- ExtensionQuery.cs
- SqlParameter.cs
- OptionalColumn.cs
- ListViewUpdateEventArgs.cs
- HtmlControlPersistable.cs
- CodeGotoStatement.cs
- CellParagraph.cs
- DocumentScope.cs
- OperationInfoBase.cs
- ByteStreamGeometryContext.cs
- DoubleCollectionConverter.cs
- AnimationStorage.cs
- Config.cs
- ToolboxItemCollection.cs
- NavigationFailedEventArgs.cs
- BasePattern.cs
- NumberSubstitution.cs
- XmlConvert.cs
- MostlySingletonList.cs
- FillBehavior.cs
- FieldCollectionEditor.cs
- BounceEase.cs
- TableItemStyle.cs
- DbConnectionPoolGroup.cs
- EventLogEntry.cs
- MappingModelBuildProvider.cs
- NoClickablePointException.cs
- SmtpReplyReaderFactory.cs
- PageCatalogPart.cs
- BitmapCache.cs
- AnyAllSearchOperator.cs
- ImageConverter.cs
- InputScope.cs
- ControlPaint.cs
- RectangleHotSpot.cs
- FilterableAttribute.cs
- _UriTypeConverter.cs
- AndMessageFilter.cs
- ProxyAttribute.cs
- PropertyItemInternal.cs
- MatrixAnimationBase.cs
- XPathNavigator.cs
- DatePickerTextBox.cs
- TypeDescriptor.cs
- StructuredProperty.cs
- CodePrimitiveExpression.cs
- WaveHeader.cs
- HttpPostedFile.cs