Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / ControlEvent.cs / 1 / 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. //------------------------------------------------------------------------------ //// 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
- SmiEventSink_Default.cs
- DrawingContext.cs
- MetadataArtifactLoader.cs
- ContentElementAutomationPeer.cs
- SiteMembershipCondition.cs
- HttpModule.cs
- UserControlParser.cs
- BlockingCollection.cs
- safePerfProviderHandle.cs
- ModulesEntry.cs
- ProtocolsConfigurationEntry.cs
- SqlDeflator.cs
- PointLight.cs
- ScrollData.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- Rijndael.cs
- SQLSingle.cs
- TextContainer.cs
- ProjectedWrapper.cs
- TabControl.cs
- WebBaseEventKeyComparer.cs
- IsolationInterop.cs
- XmlDesignerDataSourceView.cs
- SynchronizationContext.cs
- PreviewKeyDownEventArgs.cs
- TextEffect.cs
- RoleManagerModule.cs
- DetailsViewUpdateEventArgs.cs
- OdbcParameter.cs
- FontEmbeddingManager.cs
- XmlSchemas.cs
- CustomAttributeBuilder.cs
- AccessorTable.cs
- XmlDocument.cs
- TableLayoutColumnStyleCollection.cs
- ClientApiGenerator.cs
- MultipleViewProviderWrapper.cs
- DataServices.cs
- InputBinding.cs
- OleDbDataReader.cs
- TextEditorCharacters.cs
- XamlTreeBuilder.cs
- Decorator.cs
- LabelAutomationPeer.cs
- SqlXml.cs
- LoginCancelEventArgs.cs
- SrgsText.cs
- DateTimeFormat.cs
- SymDocumentType.cs
- PackagePart.cs
- RenameRuleObjectDialog.cs
- SvcMapFileLoader.cs
- WebSysDescriptionAttribute.cs
- IpcChannelHelper.cs
- PolyQuadraticBezierSegment.cs
- HttpConfigurationSystem.cs
- Page.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- ResourceManagerWrapper.cs
- GenericTypeParameterConverter.cs
- Point3DCollection.cs
- DeploymentExceptionMapper.cs
- BitmapInitialize.cs
- RepeatBehavior.cs
- X509UI.cs
- TreeNodeCollection.cs
- HttpCachePolicy.cs
- BitmapEffectDrawingContextWalker.cs
- SiteMapProvider.cs
- SelectionItemProviderWrapper.cs
- Classification.cs
- SortedDictionary.cs
- PersistenceIOParticipant.cs
- TraceContextRecord.cs
- RegistryPermission.cs
- UrlMappingsSection.cs
- StringToken.cs
- QueueProcessor.cs
- TypeSource.cs
- DebugHandleTracker.cs
- FlowLayoutSettings.cs
- XmlDictionaryReaderQuotasElement.cs
- ClientUrlResolverWrapper.cs
- EventBuilder.cs
- PropertyGridCommands.cs
- SiteMembershipCondition.cs
- AbandonedMutexException.cs
- EventLogPermissionAttribute.cs
- KeyGestureValueSerializer.cs
- ToolStripLabel.cs
- NativeMethods.cs
- AttributeQuery.cs
- RegexRunner.cs
- BaseConfigurationRecord.cs
- SqlFunctionAttribute.cs
- XmlILModule.cs
- TypeBuilder.cs
- IndentedTextWriter.cs
- TextBoxBaseDesigner.cs
- MenuRenderer.cs