Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- UserControl.cs
- ExtendedPropertyCollection.cs
- SocketElement.cs
- PeerTransportBindingElement.cs
- WindowsIPAddress.cs
- Permission.cs
- ProcessProtocolHandler.cs
- ManagementClass.cs
- _RequestLifetimeSetter.cs
- VirtualizingStackPanel.cs
- CodePageUtils.cs
- XamlFilter.cs
- DispatchChannelSink.cs
- GlobalizationSection.cs
- HiddenFieldPageStatePersister.cs
- PriorityBindingExpression.cs
- ListBindingHelper.cs
- SelfIssuedAuthProofToken.cs
- GetPageNumberCompletedEventArgs.cs
- FilteredXmlReader.cs
- UserInitiatedNavigationPermission.cs
- OleDbPermission.cs
- StateChangeEvent.cs
- CookieProtection.cs
- CodeRegionDirective.cs
- SchemaTableOptionalColumn.cs
- MetadataUtilsSmi.cs
- DrawingGroup.cs
- DetailsViewRow.cs
- BamlLocalizableResource.cs
- XmlSerializableReader.cs
- DateTimeSerializationSection.cs
- ScrollViewerAutomationPeer.cs
- HttpCapabilitiesEvaluator.cs
- ListItemCollection.cs
- User.cs
- BypassElement.cs
- HttpServerProtocol.cs
- KnownTypes.cs
- ToolTipAutomationPeer.cs
- RIPEMD160.cs
- TemplateControlParser.cs
- DataServiceProviderMethods.cs
- SelectorAutomationPeer.cs
- ChtmlTextWriter.cs
- WebBrowserContainer.cs
- LocationUpdates.cs
- TypeNameConverter.cs
- lengthconverter.cs
- DesignRelation.cs
- WebPartConnectionsConnectVerb.cs
- TraceSection.cs
- EpmCustomContentWriterNodeData.cs
- Bold.cs
- EffectiveValueEntry.cs
- SspiNegotiationTokenProvider.cs
- ListBoxChrome.cs
- TaskHelper.cs
- SerializableAttribute.cs
- ConstraintStruct.cs
- ApplicationId.cs
- RichTextBoxAutomationPeer.cs
- RoleGroupCollection.cs
- ISessionStateStore.cs
- ScriptControlDescriptor.cs
- HtmlHead.cs
- MessageEnumerator.cs
- MobileControl.cs
- SelectionHighlightInfo.cs
- NativeRightsManagementAPIsStructures.cs
- SQLDoubleStorage.cs
- UIEndRequest.cs
- AssemblyCollection.cs
- WindowsFormsHostPropertyMap.cs
- DateBoldEvent.cs
- NativeWindow.cs
- DocobjHost.cs
- MaskedTextBox.cs
- NumberEdit.cs
- WindowShowOrOpenTracker.cs
- UriTemplateVariableQueryValue.cs
- InlineUIContainer.cs
- XPathEmptyIterator.cs
- NativeMethods.cs
- UserControl.cs
- AppSecurityManager.cs
- FileDialogPermission.cs
- FilterQueryOptionExpression.cs
- MappingException.cs
- ScrollBar.cs
- SystemIPv4InterfaceProperties.cs
- HttpModuleAction.cs
- WebPartDeleteVerb.cs
- AsnEncodedData.cs
- EntityDataSourceContainerNameItem.cs
- SignatureToken.cs
- DbConnectionPoolOptions.cs
- ActiveXContainer.cs
- FormatSettings.cs
- ConfigXmlSignificantWhitespace.cs