Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ControlEvent.cs / 1305376 / ControlEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; ////// /// A ControlEventArgs is an event that has a control /// as a property. /// public class ControlEventArgs : EventArgs { private Control control; ////// /// Retrieves the control object stored in this event. /// public Control Control { get { return control; } } ////// /// Creates a new ControlEventArgs. /// public ControlEventArgs(Control control) { this.control = control; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HeaderedItemsControl.cs
- ValidatingReaderNodeData.cs
- BinaryObjectWriter.cs
- TableLayoutSettingsTypeConverter.cs
- ObjectDataSourceView.cs
- MetafileHeaderWmf.cs
- CreateUserWizard.cs
- XPathEmptyIterator.cs
- Page.cs
- EditorOptionAttribute.cs
- BookmarkEventArgs.cs
- ObjectNotFoundException.cs
- CompiledQuery.cs
- LineSegment.cs
- WindowsFont.cs
- FormatSettings.cs
- SettingsSavedEventArgs.cs
- ObjectDataSourceView.cs
- FileStream.cs
- SinglePageViewer.cs
- WebPartTransformerCollection.cs
- InternalBase.cs
- SHA512Managed.cs
- InfoCardKeyedHashAlgorithm.cs
- PersonalizableAttribute.cs
- GlobalEventManager.cs
- XmlHierarchicalDataSourceView.cs
- SoapException.cs
- HMAC.cs
- ObjectResult.cs
- WebBrowserSiteBase.cs
- WindowsContainer.cs
- VisualBasicDesignerHelper.cs
- XPathSelectionIterator.cs
- ReferenceSchema.cs
- FormCollection.cs
- XmlSchemaInfo.cs
- SerializationAttributes.cs
- DataGridViewHitTestInfo.cs
- Msec.cs
- ExpressionConverter.cs
- ToolStripCollectionEditor.cs
- RequestContext.cs
- NamedPermissionSet.cs
- ThreadNeutralSemaphore.cs
- UxThemeWrapper.cs
- NonParentingControl.cs
- ColumnMapTranslator.cs
- NavigatorInput.cs
- NetworkAddressChange.cs
- ListenerUnsafeNativeMethods.cs
- EpmContentSerializerBase.cs
- WindowsUpDown.cs
- CryptoSession.cs
- FileLevelControlBuilderAttribute.cs
- MULTI_QI.cs
- SelectionProcessor.cs
- SemanticKeyElement.cs
- RTLAwareMessageBox.cs
- ComponentCommands.cs
- CodeCompiler.cs
- AttachedPropertyInfo.cs
- DirectoryNotFoundException.cs
- Activator.cs
- SafeArrayRankMismatchException.cs
- TreeNode.cs
- DeploymentSectionCache.cs
- PrintDocument.cs
- FormView.cs
- DataGridViewHitTestInfo.cs
- InvalidDataException.cs
- EventKeyword.cs
- WebPartConnectionsConnectVerb.cs
- NotSupportedException.cs
- GenericIdentity.cs
- TextServicesProperty.cs
- ConnectionStringsSection.cs
- Clause.cs
- LambdaSerializationException.cs
- ConfigurationStrings.cs
- ProcessHostServerConfig.cs
- RegexMatchCollection.cs
- BooleanExpr.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ManagedWndProcTracker.cs
- UrlPath.cs
- TaskCanceledException.cs
- EventListenerClientSide.cs
- ScaleTransform3D.cs
- TableCell.cs
- SerializationException.cs
- WebServiceReceive.cs
- LoginName.cs
- PenThread.cs
- DropDownList.cs
- SerializationFieldInfo.cs
- FirewallWrapper.cs
- DesignSurfaceEvent.cs
- WebRequestModuleElementCollection.cs
- InputScopeAttribute.cs