Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ToolStripComboBox.cs
- CodeMemberField.cs
- RemoteHelper.cs
- XmlSchemaSet.cs
- HtmlInputControl.cs
- UTF8Encoding.cs
- HtmlEmptyTagControlBuilder.cs
- ProcessThread.cs
- MouseOverProperty.cs
- ToolStripContainer.cs
- ErrorTableItemStyle.cs
- ChangeTracker.cs
- ConfigXmlAttribute.cs
- OperandQuery.cs
- TouchEventArgs.cs
- HtmlTable.cs
- BinaryNode.cs
- EmptyControlCollection.cs
- InstallerTypeAttribute.cs
- ObjectViewListener.cs
- DNS.cs
- SqlFunctionAttribute.cs
- Int32AnimationBase.cs
- TreeViewImageKeyConverter.cs
- XhtmlBasicSelectionListAdapter.cs
- Token.cs
- SessionStateUtil.cs
- NetDataContractSerializer.cs
- HttpContext.cs
- WSMessageEncoding.cs
- ActivitySurrogateSelector.cs
- FixedSOMTableRow.cs
- OleDbDataAdapter.cs
- ParameterCollection.cs
- EventLogInternal.cs
- VisualBasicImportReference.cs
- MatrixTransform3D.cs
- HttpCachePolicy.cs
- WorkerRequest.cs
- ResXDataNode.cs
- QilSortKey.cs
- Brush.cs
- CngAlgorithm.cs
- Propagator.cs
- LogRecordSequence.cs
- EncoderParameter.cs
- FileLogRecord.cs
- SchemaImporter.cs
- DropTarget.cs
- EnumUnknown.cs
- FormParameter.cs
- InputDevice.cs
- TextDecorationUnitValidation.cs
- StorageModelBuildProvider.cs
- DateTimeParse.cs
- QilXmlReader.cs
- HtmlTableCellCollection.cs
- COM2Properties.cs
- Table.cs
- StreamGeometryContext.cs
- AudioFileOut.cs
- SendMailErrorEventArgs.cs
- ExpandCollapsePattern.cs
- RoleManagerModule.cs
- RtfControls.cs
- HttpSessionStateWrapper.cs
- LineGeometry.cs
- SafeEventLogWriteHandle.cs
- BuildDependencySet.cs
- ImpersonateTokenRef.cs
- Camera.cs
- InlineObject.cs
- FileLevelControlBuilderAttribute.cs
- Constant.cs
- AccessKeyManager.cs
- HtmlTableRowCollection.cs
- CapabilitiesRule.cs
- MsmqIntegrationSecurity.cs
- OletxVolatileEnlistment.cs
- NameGenerator.cs
- TextDecorationUnitValidation.cs
- VisemeEventArgs.cs
- rsa.cs
- CompilerErrorCollection.cs
- TextServicesDisplayAttribute.cs
- ObjectStateManager.cs
- EventMappingSettingsCollection.cs
- UserControlCodeDomTreeGenerator.cs
- TaskSchedulerException.cs
- DataGridRow.cs
- InternalRelationshipCollection.cs
- StyleSelector.cs
- _SslSessionsCache.cs
- TraceHandler.cs
- documentsequencetextcontainer.cs
- XPathBinder.cs
- FixedHyperLink.cs
- WindowsUpDown.cs
- SQLBinaryStorage.cs
- InProcStateClientManager.cs