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
- AxisAngleRotation3D.cs
- While.cs
- XsdDuration.cs
- HttpApplicationStateWrapper.cs
- ExpressionBuilderCollection.cs
- XPathNavigatorReader.cs
- ModulesEntry.cs
- RowUpdatedEventArgs.cs
- VariableDesigner.xaml.cs
- ColumnWidthChangingEvent.cs
- JavascriptCallbackMessageInspector.cs
- GeometryHitTestParameters.cs
- SelectManyQueryOperator.cs
- ParameterCollection.cs
- DataGridViewCellEventArgs.cs
- DataGridColumnStyleMappingNameEditor.cs
- Bezier.cs
- ExpressionBuilderCollection.cs
- SqlBulkCopy.cs
- HandleExceptionArgs.cs
- RegexTypeEditor.cs
- UserControlAutomationPeer.cs
- Visual.cs
- CryptoApi.cs
- GiveFeedbackEventArgs.cs
- AspNetPartialTrustHelpers.cs
- DESCryptoServiceProvider.cs
- ListItemConverter.cs
- OrderByExpression.cs
- SafeUserTokenHandle.cs
- ScrollProviderWrapper.cs
- ControlPropertyNameConverter.cs
- ToolStripSystemRenderer.cs
- FormViewPageEventArgs.cs
- PixelFormat.cs
- ApplicationManager.cs
- SiteMap.cs
- WinFormsSecurity.cs
- ResourcePermissionBase.cs
- GeneralTransform2DTo3D.cs
- EdmProperty.cs
- Panel.cs
- DataGridTextBox.cs
- FontFaceLayoutInfo.cs
- DataListItem.cs
- BindingEntityInfo.cs
- InputLanguageCollection.cs
- HMACSHA384.cs
- XmlBinaryWriterSession.cs
- ReferentialConstraint.cs
- DebugHandleTracker.cs
- DbParameterCollectionHelper.cs
- QualificationDataItem.cs
- DataPagerFieldCollection.cs
- FlagsAttribute.cs
- InputReportEventArgs.cs
- CopyNodeSetAction.cs
- XmlCharCheckingWriter.cs
- CompositionAdorner.cs
- RegistrationServices.cs
- PageContentAsyncResult.cs
- XmlTypeAttribute.cs
- FunctionUpdateCommand.cs
- ObjectDataSourceStatusEventArgs.cs
- ContainerVisual.cs
- RepeaterItemCollection.cs
- EventItfInfo.cs
- XPathSelectionIterator.cs
- SerialStream.cs
- XslCompiledTransform.cs
- SqlClientMetaDataCollectionNames.cs
- FileUpload.cs
- DictionaryManager.cs
- MimeMultiPart.cs
- FileSystemInfo.cs
- DeviceSpecificChoice.cs
- QueryPageSettingsEventArgs.cs
- Opcode.cs
- LogExtent.cs
- XamlTypeMapper.cs
- _BasicClient.cs
- ProfileParameter.cs
- ChangeBlockUndoRecord.cs
- RenameRuleObjectDialog.cs
- EntityWithKeyStrategy.cs
- TraceUtility.cs
- DbConnectionStringBuilder.cs
- PickDesigner.xaml.cs
- EncoderNLS.cs
- DataGridAutomationPeer.cs
- BaseParagraph.cs
- XmlDomTextWriter.cs
- PlainXmlDeserializer.cs
- TargetControlTypeAttribute.cs
- MapPathBasedVirtualPathProvider.cs
- ListMarkerLine.cs
- SystemParameters.cs
- FragmentQuery.cs
- CrossSiteScriptingValidation.cs
- DataGridViewCheckBoxColumn.cs