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
- FixedTextContainer.cs
- DrawingContextWalker.cs
- ComponentDispatcherThread.cs
- basecomparevalidator.cs
- HScrollProperties.cs
- BindingList.cs
- FixedPosition.cs
- MenuStrip.cs
- TypeSystemHelpers.cs
- TransformGroup.cs
- DoubleKeyFrameCollection.cs
- RequestCacheManager.cs
- CharacterBuffer.cs
- AmbientLight.cs
- InvokeWebServiceDesigner.cs
- Vector3D.cs
- Visual3D.cs
- XmlException.cs
- NameService.cs
- SqlSelectClauseBuilder.cs
- HwndSourceParameters.cs
- UnsafeNativeMethods.cs
- X509ChainElement.cs
- InvalidProgramException.cs
- Debug.cs
- SettingsBase.cs
- BinHexDecoder.cs
- XmlNullResolver.cs
- AmbiguousMatchException.cs
- OutputCacheModule.cs
- WebPartDisplayModeCollection.cs
- UnsettableComboBox.cs
- CustomCredentialPolicy.cs
- DomainConstraint.cs
- ItemsPresenter.cs
- PropertyEmitterBase.cs
- serverconfig.cs
- AutomationElement.cs
- MimeTypeAttribute.cs
- StylusShape.cs
- StandardCommands.cs
- Inline.cs
- CodeValidator.cs
- CodeTypeConstructor.cs
- OwnerDrawPropertyBag.cs
- AstTree.cs
- ServicesUtilities.cs
- SHA1.cs
- TextPointerBase.cs
- TemplateControlBuildProvider.cs
- ValidationHelpers.cs
- NumberAction.cs
- Operand.cs
- SectionRecord.cs
- Win32MouseDevice.cs
- PaintValueEventArgs.cs
- XslAstAnalyzer.cs
- HtmlInputPassword.cs
- BaseDataBoundControlDesigner.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- TypeHelper.cs
- ColorInterpolationModeValidation.cs
- PageAsyncTaskManager.cs
- DBCommandBuilder.cs
- StandardBindingOptionalReliableSessionElement.cs
- WebPartMenuStyle.cs
- InkPresenterAutomationPeer.cs
- TypeExtensionSerializer.cs
- PersistChildrenAttribute.cs
- NativeWindow.cs
- DBBindings.cs
- FixedTextPointer.cs
- DeobfuscatingStream.cs
- CodeArgumentReferenceExpression.cs
- HttpClientCertificate.cs
- XmlReflectionMember.cs
- ButtonPopupAdapter.cs
- XmlWriterDelegator.cs
- MailHeaderInfo.cs
- DomainUpDown.cs
- PersistChildrenAttribute.cs
- UIElementParaClient.cs
- ChangeInterceptorAttribute.cs
- JapaneseLunisolarCalendar.cs
- RowParagraph.cs
- NamedElement.cs
- DependencyPropertyChangedEventArgs.cs
- TypeLoadException.cs
- TableLayoutRowStyleCollection.cs
- RegistryPermission.cs
- TextServicesDisplayAttribute.cs
- loginstatus.cs
- UIHelper.cs
- RelationshipFixer.cs
- EventWaitHandle.cs
- RowsCopiedEventArgs.cs
- NumberSubstitution.cs
- HtmlInputFile.cs
- Utility.cs
- NavigationPropertySingletonExpression.cs