Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / TabControlEvent.cs / 1 / TabControlEvent.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 TabControlEventArgs : EventArgs { private TabPage tabPage; private int tabPageIndex; private TabControlAction action; ///Provides data for the ///, /// event. /// /// public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; } ////// Initializes a new instance of the ///class. /// /// /// /// 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 TabControlEventArgs : EventArgs { private TabPage tabPage; private int tabPageIndex; private TabControlAction action; ///Provides data for the ///, /// event. /// /// public TabControlEventArgs(TabPage tabPage, int tabPageIndex, TabControlAction action) { this.tabPage = tabPage; this.tabPageIndex = tabPageIndex; this.action = action; } ////// Initializes a new instance of the ///class. /// /// /// /// 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
- ClipboardData.cs
- SmtpCommands.cs
- NavigationProgressEventArgs.cs
- GenericsInstances.cs
- HighContrastHelper.cs
- WebBrowserNavigatingEventHandler.cs
- SettingsProviderCollection.cs
- ConsoleKeyInfo.cs
- WindowsFont.cs
- DiagnosticTrace.cs
- AppDomainShutdownMonitor.cs
- LogReservationCollection.cs
- Publisher.cs
- CreateUserErrorEventArgs.cs
- SessionStateItemCollection.cs
- ArraySegment.cs
- KeyEventArgs.cs
- HtmlPageAdapter.cs
- StateRuntime.cs
- WmlCommandAdapter.cs
- DLinqColumnProvider.cs
- RoleService.cs
- util.cs
- RightsManagementSuppressedStream.cs
- Pen.cs
- ToolStripContainer.cs
- HtmlTableCellCollection.cs
- UITypeEditors.cs
- CallbackCorrelationInitializer.cs
- IsolatedStorageFileStream.cs
- ComponentChangedEvent.cs
- DashStyles.cs
- XamlDesignerSerializationManager.cs
- PreloadedPackages.cs
- ValueQuery.cs
- ProcessProtocolHandler.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- UserControlBuildProvider.cs
- Message.cs
- ArgumentDesigner.xaml.cs
- ZipIOLocalFileDataDescriptor.cs
- ValidatingCollection.cs
- CollectionChangedEventManager.cs
- RefreshEventArgs.cs
- ButtonBaseAutomationPeer.cs
- ViewService.cs
- Dictionary.cs
- WebPartConnectionsEventArgs.cs
- Types.cs
- ButtonPopupAdapter.cs
- PerformanceCounter.cs
- SourceSwitch.cs
- PublisherIdentityPermission.cs
- DataGridViewRowStateChangedEventArgs.cs
- ApplicationHost.cs
- WebPartConnectionsEventArgs.cs
- RemoteWebConfigurationHostServer.cs
- IdentityReference.cs
- XslVisitor.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ProcessHostServerConfig.cs
- FigureHelper.cs
- DataGridViewTextBoxCell.cs
- CssStyleCollection.cs
- SqlDataSourceEnumerator.cs
- OdbcConnection.cs
- CngProperty.cs
- CheckoutException.cs
- ValueQuery.cs
- ReadWriteSpinLock.cs
- EventNotify.cs
- OdbcParameter.cs
- ProfileManager.cs
- ProviderBase.cs
- IsolatedStorageFilePermission.cs
- DataService.cs
- StateMachine.cs
- IResourceProvider.cs
- ComPlusTraceRecord.cs
- RegistrySecurity.cs
- DbXmlEnabledProviderManifest.cs
- ContextMenuAutomationPeer.cs
- PrimaryKeyTypeConverter.cs
- SiteMapProvider.cs
- ColorConverter.cs
- BindingMAnagerBase.cs
- ResourceDescriptionAttribute.cs
- FormParameter.cs
- FormView.cs
- SafeLocalMemHandle.cs
- NotCondition.cs
- Paragraph.cs
- WindowsMenu.cs
- documentsequencetextview.cs
- _ScatterGatherBuffers.cs
- DataObject.cs
- SoapSchemaImporter.cs
- IntegrationExceptionEventArgs.cs
- TemplateInstanceAttribute.cs
- OleDbEnumerator.cs