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
- WebBrowsableAttribute.cs
- SafePEFileHandle.cs
- DataGridTable.cs
- SetterBaseCollection.cs
- DataKey.cs
- DataRelation.cs
- Char.cs
- BlurEffect.cs
- HtmlControl.cs
- KnownTypeHelper.cs
- SelectingProviderEventArgs.cs
- XmlCharacterData.cs
- JsonReader.cs
- EventDescriptorCollection.cs
- TraceFilter.cs
- ProtocolException.cs
- RepeatBehavior.cs
- FilterException.cs
- ArrayWithOffset.cs
- SectionVisual.cs
- XsdCachingReader.cs
- ListBoxChrome.cs
- ItemTypeToolStripMenuItem.cs
- DataGridViewCellMouseEventArgs.cs
- KeyGestureConverter.cs
- HostProtectionException.cs
- FrameAutomationPeer.cs
- XsltSettings.cs
- EventLog.cs
- MemoryPressure.cs
- DbgCompiler.cs
- BitVector32.cs
- ReferenceEqualityComparer.cs
- ObjectItemCollection.cs
- HttpHandler.cs
- BindStream.cs
- XmlNodeComparer.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- AnimationStorage.cs
- DependencyPropertyKind.cs
- SystemPens.cs
- ListViewInsertedEventArgs.cs
- ObjectItemAttributeAssemblyLoader.cs
- EventLogTraceListener.cs
- NativeMethods.cs
- DateTimeFormatInfoScanner.cs
- ColorMap.cs
- NativeMethods.cs
- PreloadedPackages.cs
- LeaseManager.cs
- PropertyGrid.cs
- CompositeActivityDesigner.cs
- TableLayoutPanelResizeGlyph.cs
- ProvidersHelper.cs
- MetaChildrenColumn.cs
- WizardForm.cs
- CLSCompliantAttribute.cs
- Run.cs
- AcceleratedTokenAuthenticator.cs
- DataGridViewDataConnection.cs
- CompositeFontFamily.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Vector3DCollectionValueSerializer.cs
- WebDisplayNameAttribute.cs
- NetworkStream.cs
- GroupItem.cs
- FrameAutomationPeer.cs
- Avt.cs
- SecurityTokenProviderContainer.cs
- TextFormatterImp.cs
- ListItemParagraph.cs
- RTTypeWrapper.cs
- CustomAttribute.cs
- ReturnValue.cs
- _DisconnectOverlappedAsyncResult.cs
- FolderBrowserDialogDesigner.cs
- PropertyDescriptorComparer.cs
- ReadOnlyDataSource.cs
- BindingEntityInfo.cs
- TableDesigner.cs
- DropShadowEffect.cs
- Soap.cs
- DataControlFieldHeaderCell.cs
- ConfigurationSectionCollection.cs
- ValidationErrorInfo.cs
- Boolean.cs
- QilGenerator.cs
- Marshal.cs
- MergeFailedEvent.cs
- ExpressionBuilderContext.cs
- DataGridViewBand.cs
- WindowsFormsHost.cs
- CTreeGenerator.cs
- SrgsDocument.cs
- CapabilitiesAssignment.cs
- FormView.cs
- TextEffectCollection.cs
- ConsoleKeyInfo.cs
- TextTreeTextElementNode.cs
- DurableInstanceManager.cs