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
- DictionaryCustomTypeDescriptor.cs
- WindowsAuthenticationModule.cs
- DataGridViewRowConverter.cs
- Html32TextWriter.cs
- InvalidProgramException.cs
- _IPv6Address.cs
- TlsnegoTokenProvider.cs
- NavigationFailedEventArgs.cs
- HtmlInputHidden.cs
- XmlQueryType.cs
- Bind.cs
- DataBoundControlAdapter.cs
- ExpandSegmentCollection.cs
- FileNotFoundException.cs
- DBCommandBuilder.cs
- HttpContextServiceHost.cs
- brushes.cs
- TrackingRecord.cs
- DrawingGroup.cs
- DesignRelationCollection.cs
- Util.cs
- nulltextnavigator.cs
- EditCommandColumn.cs
- UdpDuplexChannel.cs
- HttpListenerContext.cs
- _HeaderInfo.cs
- SettingsProviderCollection.cs
- TreeNodeClickEventArgs.cs
- ListViewItem.cs
- LogAppendAsyncResult.cs
- SimpleHandlerBuildProvider.cs
- XmlCDATASection.cs
- SelectiveScrollingGrid.cs
- AudioFormatConverter.cs
- fixedPageContentExtractor.cs
- SqlHelper.cs
- BamlRecords.cs
- TransformValueSerializer.cs
- PackWebResponse.cs
- ImmutableCommunicationTimeouts.cs
- RawStylusInput.cs
- XmlILConstructAnalyzer.cs
- EncodingFallbackAwareXmlTextWriter.cs
- ReadOnlyDataSourceView.cs
- MetadataCollection.cs
- OdbcUtils.cs
- StringInfo.cs
- HtmlTitle.cs
- IdnMapping.cs
- Formatter.cs
- WebPartConnectionsCancelEventArgs.cs
- StylusPointProperties.cs
- FtpWebRequest.cs
- IMembershipProvider.cs
- RequestQueue.cs
- ListViewDataItem.cs
- AuthenticationManager.cs
- SvcMapFile.cs
- EmptyImpersonationContext.cs
- DataMemberFieldConverter.cs
- SessionStateModule.cs
- TextProperties.cs
- AccessText.cs
- ContentType.cs
- TableRow.cs
- PreservationFileWriter.cs
- StatusStrip.cs
- CompositeDuplexBindingElementImporter.cs
- QuaternionConverter.cs
- DataServiceRequestOfT.cs
- EarlyBoundInfo.cs
- SqlNode.cs
- Pkcs7Recipient.cs
- CollectionBuilder.cs
- SchemaMapping.cs
- StylusDevice.cs
- BooleanProjectedSlot.cs
- XPathAxisIterator.cs
- ControlBuilderAttribute.cs
- CompilerLocalReference.cs
- DataGridColumnFloatingHeader.cs
- TypeExtensions.cs
- Operand.cs
- ComboBoxItem.cs
- UpdateException.cs
- File.cs
- DataGridViewSortCompareEventArgs.cs
- CookieProtection.cs
- Model3DCollection.cs
- TemplateField.cs
- ContactManager.cs
- UrlPropertyAttribute.cs
- ProviderException.cs
- ObjectDataSource.cs
- VirtualizingStackPanel.cs
- Pkcs7Recipient.cs
- Grid.cs
- CompilerParameters.cs
- DbExpressionVisitor.cs
- sqlinternaltransaction.cs