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
- PlanCompilerUtil.cs
- ConfigurationLocation.cs
- MessageQueueTransaction.cs
- XmlDocument.cs
- MetricEntry.cs
- Byte.cs
- PageRequestManager.cs
- CounterSetInstance.cs
- Vars.cs
- PolicyManager.cs
- PathTooLongException.cs
- ClientScriptManager.cs
- JsonSerializer.cs
- BasicCellRelation.cs
- ObjectTokenCategory.cs
- SqlDataAdapter.cs
- ParameterSubsegment.cs
- Function.cs
- WindowVisualStateTracker.cs
- DPAPIProtectedConfigurationProvider.cs
- ProcessHostServerConfig.cs
- RoleGroupCollection.cs
- XmlReader.cs
- SerializationInfoEnumerator.cs
- ContextMenuStrip.cs
- MatrixAnimationUsingPath.cs
- SortKey.cs
- ToolStripRenderer.cs
- Util.cs
- BlurEffect.cs
- ExtractorMetadata.cs
- StylusSystemGestureEventArgs.cs
- OAVariantLib.cs
- DataGridViewTextBoxColumn.cs
- ThrowHelper.cs
- HierarchicalDataBoundControlAdapter.cs
- OdbcFactory.cs
- ProbeDuplex11AsyncResult.cs
- webbrowsersite.cs
- AddressHeader.cs
- ContentPosition.cs
- HtmlTitle.cs
- Int32.cs
- PeerObject.cs
- SimpleWorkerRequest.cs
- FileDialog.cs
- ColorIndependentAnimationStorage.cs
- MergeFailedEvent.cs
- EditingMode.cs
- jithelpers.cs
- ImageConverter.cs
- ProxyHelper.cs
- RewritingValidator.cs
- SpotLight.cs
- ItemType.cs
- ChannelPoolSettings.cs
- ControlUtil.cs
- ImageBrush.cs
- Soap11ServerProtocol.cs
- TrackingLocation.cs
- TextEditorTables.cs
- updateconfighost.cs
- AnnouncementDispatcherAsyncResult.cs
- CompoundFileIOPermission.cs
- RuntimeWrappedException.cs
- DeviceContext2.cs
- InputReport.cs
- TemplateBuilder.cs
- WindowsComboBox.cs
- ReferencedAssemblyResolver.cs
- TypeUtils.cs
- MimeParameter.cs
- ServicePoint.cs
- ItemCollection.cs
- Internal.cs
- Label.cs
- ProcessProtocolHandler.cs
- XPathSelectionIterator.cs
- NavigatorOutput.cs
- CollectionConverter.cs
- Barrier.cs
- DetailsViewCommandEventArgs.cs
- ExtentJoinTreeNode.cs
- XmlAttributeAttribute.cs
- SqlUnionizer.cs
- HttpAsyncResult.cs
- PriorityRange.cs
- RoutedEventHandlerInfo.cs
- Ppl.cs
- ConstructorBuilder.cs
- TabPage.cs
- ByValueEqualityComparer.cs
- ValueChangedEventManager.cs
- SimpleApplicationHost.cs
- WebResourceUtil.cs
- ContainerFilterService.cs
- DesignerDataStoredProcedure.cs
- SemaphoreFullException.cs
- IndexedEnumerable.cs
- GenericAuthenticationEventArgs.cs