Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SiteMapProvider.cs
- ImageKeyConverter.cs
- ECDsa.cs
- CallbackException.cs
- Matrix.cs
- ExcludeFromCodeCoverageAttribute.cs
- X500Name.cs
- Message.cs
- LinqDataView.cs
- UrlAuthFailureHandler.cs
- CaseCqlBlock.cs
- ContentElement.cs
- CodeArrayCreateExpression.cs
- RelationshipType.cs
- RichTextBox.cs
- AttachedPropertyMethodSelector.cs
- Int32Animation.cs
- StoryFragments.cs
- ListItemsCollectionEditor.cs
- KoreanCalendar.cs
- QueryCacheKey.cs
- Transform.cs
- LinqDataSourceValidationException.cs
- SoapProcessingBehavior.cs
- SocketPermission.cs
- VirtualPathUtility.cs
- EntryWrittenEventArgs.cs
- ImagingCache.cs
- SqlDataSourceEnumerator.cs
- RequestTimeoutManager.cs
- WebPartCloseVerb.cs
- KeyValueConfigurationCollection.cs
- ApplicationServiceManager.cs
- ProfileEventArgs.cs
- ComponentEvent.cs
- SerializableAttribute.cs
- Authorization.cs
- DesignTimeValidationFeature.cs
- SamlEvidence.cs
- XmlQuerySequence.cs
- Identifier.cs
- AggregationMinMaxHelpers.cs
- ProfileSection.cs
- DifferencingCollection.cs
- XmlSchemaObject.cs
- Vector.cs
- WebPartConnectionsConnectVerb.cs
- WebBrowser.cs
- MsmqAuthenticationMode.cs
- WhitespaceRuleReader.cs
- FileAuthorizationModule.cs
- AppSettingsExpressionBuilder.cs
- CustomBindingElementCollection.cs
- HttpMethodAttribute.cs
- AssertSection.cs
- NegotiateStream.cs
- UnmanagedBitmapWrapper.cs
- ConditionValidator.cs
- ExpressionVisitor.cs
- MaterialCollection.cs
- SQLCharsStorage.cs
- StoreItemCollection.cs
- LiteralControl.cs
- TemplateComponentConnector.cs
- AstNode.cs
- COM2TypeInfoProcessor.cs
- WebPartDisplayModeCollection.cs
- XmlDataLoader.cs
- Themes.cs
- MenuEventArgs.cs
- TdsValueSetter.cs
- Thickness.cs
- HealthMonitoringSection.cs
- NestPullup.cs
- DataStreamFromComStream.cs
- ping.cs
- _OverlappedAsyncResult.cs
- XmlSchemaInfo.cs
- FixedMaxHeap.cs
- CodeFieldReferenceExpression.cs
- IndicShape.cs
- FontCacheUtil.cs
- BitVec.cs
- GridViewSortEventArgs.cs
- ReadOnlyPropertyMetadata.cs
- XmlEventCache.cs
- CompilerGeneratedAttribute.cs
- StylusShape.cs
- XPathNodeIterator.cs
- XmlSchemaChoice.cs
- StatusBarItem.cs
- FormatterServices.cs
- ColorTransformHelper.cs
- UiaCoreTypesApi.cs
- Window.cs
- ErrorTableItemStyle.cs
- SynchronizationLockException.cs
- LeaseManager.cs
- DefaultClaimSet.cs
- PropertyDescriptor.cs