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
- PingOptions.cs
- GradientSpreadMethodValidation.cs
- ObjectViewQueryResultData.cs
- ServiceBehaviorElement.cs
- SecurityListenerSettingsLifetimeManager.cs
- BufferAllocator.cs
- StartFileNameEditor.cs
- FunctionMappingTranslator.cs
- Int32Storage.cs
- SharedUtils.cs
- UnsafeNativeMethods.cs
- CachedTypeface.cs
- BatchStream.cs
- DrawingVisual.cs
- ReflectionHelper.cs
- DataGridViewRowCancelEventArgs.cs
- SmiContext.cs
- FileResponseElement.cs
- _IPv6Address.cs
- LinqDataSourceValidationException.cs
- DictionaryCustomTypeDescriptor.cs
- ErrorBehavior.cs
- FileUtil.cs
- shaperfactory.cs
- ObjectAnimationUsingKeyFrames.cs
- BooleanStorage.cs
- COM2AboutBoxPropertyDescriptor.cs
- EllipseGeometry.cs
- DataContractAttribute.cs
- SkewTransform.cs
- StyleSelector.cs
- LocatorBase.cs
- Underline.cs
- PageCodeDomTreeGenerator.cs
- WebHeaderCollection.cs
- GatewayDefinition.cs
- ToolboxItem.cs
- CodeAttachEventStatement.cs
- TextSchema.cs
- UnconditionalPolicy.cs
- SqlUserDefinedTypeAttribute.cs
- XmlnsDictionary.cs
- ItemsPresenter.cs
- DataGridAutoFormatDialog.cs
- InputEventArgs.cs
- DomainUpDown.cs
- AccessibleObject.cs
- SolidColorBrush.cs
- GlobalEventManager.cs
- GifBitmapEncoder.cs
- RuleSetBrowserDialog.cs
- CodeGroup.cs
- RegistryKey.cs
- XslTransformFileEditor.cs
- TimeSpanStorage.cs
- CryptoStream.cs
- ReadOnlyKeyedCollection.cs
- DataGridLength.cs
- GcHandle.cs
- SHA256Managed.cs
- UrlMappingCollection.cs
- CustomGrammar.cs
- DataGridPagerStyle.cs
- BaseValidator.cs
- LoadedOrUnloadedOperation.cs
- WebBrowser.cs
- InkCanvasInnerCanvas.cs
- PathNode.cs
- TemplateBindingExtension.cs
- QilVisitor.cs
- RecordManager.cs
- AuditLog.cs
- FileDataSourceCache.cs
- LostFocusEventManager.cs
- DataBoundControlAdapter.cs
- ComponentEditorForm.cs
- BitmapDownload.cs
- FixedElement.cs
- GridViewRow.cs
- VirtualizingStackPanel.cs
- HttpListener.cs
- ScriptReferenceEventArgs.cs
- RangeContentEnumerator.cs
- ColorTransform.cs
- ProcessHostConfigUtils.cs
- RelatedCurrencyManager.cs
- TemplateBamlRecordReader.cs
- CaseStatement.cs
- SmtpAuthenticationManager.cs
- HttpModule.cs
- DesignerLinkAdapter.cs
- ThaiBuddhistCalendar.cs
- WrapPanel.cs
- XmlWriterSettings.cs
- LineGeometry.cs
- XPathParser.cs
- ProcessHostServerConfig.cs
- LinkClickEvent.cs
- CodeCompiler.cs
- EventLogPermissionEntry.cs