Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- ExclusiveTcpTransportManager.cs
- ListBindableAttribute.cs
- Group.cs
- CultureSpecificCharacterBufferRange.cs
- AsyncDataRequest.cs
- SHA384.cs
- EdmScalarPropertyAttribute.cs
- StylusDownEventArgs.cs
- StyleSheetComponentEditor.cs
- RequestQueryParser.cs
- QfeChecker.cs
- Win32Interop.cs
- WhiteSpaceTrimStringConverter.cs
- InstalledFontCollection.cs
- EncryptedPackageFilter.cs
- MatrixAnimationUsingPath.cs
- ResXDataNode.cs
- SafeLibraryHandle.cs
- ArgumentNullException.cs
- ApplicationHost.cs
- ConnectionStringsExpressionEditor.cs
- TransformerTypeCollection.cs
- CryptoKeySecurity.cs
- CanonicalFontFamilyReference.cs
- TaiwanCalendar.cs
- SqlDataSourceConnectionPanel.cs
- ImageEditor.cs
- ColumnHeader.cs
- XmlIgnoreAttribute.cs
- TraceData.cs
- StrokeRenderer.cs
- DataGridCheckBoxColumn.cs
- HttpCookieCollection.cs
- DataGridViewAddColumnDialog.cs
- ACE.cs
- TabControlCancelEvent.cs
- ProviderSettings.cs
- CanonicalXml.cs
- X509ThumbprintKeyIdentifierClause.cs
- StyleXamlTreeBuilder.cs
- ImageSourceConverter.cs
- WinFormsComponentEditor.cs
- DragDropHelper.cs
- FieldNameLookup.cs
- PreviewPageInfo.cs
- DynamicQueryableWrapper.cs
- BinaryFormatter.cs
- TransactionChannelListener.cs
- XPathMessageFilterElementCollection.cs
- SmtpAuthenticationManager.cs
- NumberFormatter.cs
- NaturalLanguageHyphenator.cs
- BasicHttpBindingCollectionElement.cs
- DataGridViewCellStyleConverter.cs
- CertificateManager.cs
- ClientFormsIdentity.cs
- HostedHttpTransportManager.cs
- RowVisual.cs
- ListBoxItem.cs
- CodeAttachEventStatement.cs
- FontCacheLogic.cs
- TypeBuilder.cs
- Column.cs
- ValidatorCollection.cs
- ConfigXmlAttribute.cs
- ReadOnlyDictionary.cs
- SubqueryRules.cs
- StreamGeometry.cs
- TablePattern.cs
- OperatorExpressions.cs
- CodeTryCatchFinallyStatement.cs
- WebEventCodes.cs
- TextEditorMouse.cs
- XmlSchemaGroupRef.cs
- ThemeableAttribute.cs
- BitmapEncoder.cs
- LocalizabilityAttribute.cs
- PropertyChangeTracker.cs
- IpcChannelHelper.cs
- RequestStatusBarUpdateEventArgs.cs
- TextServicesCompartment.cs
- Win32.cs
- BatchServiceHost.cs
- DataSourceExpression.cs
- InvalidCastException.cs
- FixedLineResult.cs
- Imaging.cs
- MsmqIntegrationMessagePool.cs
- EqualityComparer.cs
- DataGridViewTextBoxCell.cs
- WebCodeGenerator.cs
- ResourceAssociationSet.cs
- GlyphShapingProperties.cs
- StorageConditionPropertyMapping.cs
- XmlLanguage.cs
- TreeViewDesigner.cs
- SortedList.cs
- DecimalKeyFrameCollection.cs
- ConsoleCancelEventArgs.cs
- AffineTransform3D.cs