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
- CodeTypeMember.cs
- BooleanSwitch.cs
- InternalEnumValidator.cs
- DeviceSpecificDesigner.cs
- CatalogPart.cs
- Button.cs
- ConnectionManagementElement.cs
- RequestFactory.cs
- WebEventTraceProvider.cs
- UInt16Converter.cs
- ProxyManager.cs
- WebGetAttribute.cs
- diagnosticsswitches.cs
- OptimalBreakSession.cs
- EventSetter.cs
- SafeFindHandle.cs
- ReliabilityContractAttribute.cs
- Highlights.cs
- GridEntryCollection.cs
- Random.cs
- IndexedEnumerable.cs
- CLSCompliantAttribute.cs
- DataGridViewRowEventArgs.cs
- OperationPerformanceCounters.cs
- StreamReader.cs
- hresults.cs
- CompilerLocalReference.cs
- DataChangedEventManager.cs
- OutArgument.cs
- BaseCodePageEncoding.cs
- DesignerVerb.cs
- ValidationHelper.cs
- CharacterBuffer.cs
- RegexCompilationInfo.cs
- SHA384Managed.cs
- DataGridCell.cs
- XmlSchemaImport.cs
- ValidatorUtils.cs
- DeploymentSection.cs
- ToolbarAUtomationPeer.cs
- EnumConverter.cs
- DefaultValueTypeConverter.cs
- SharedUtils.cs
- Rules.cs
- Debug.cs
- PassportAuthenticationModule.cs
- WSSecurityXXX2005.cs
- _NegoState.cs
- ModuleBuilder.cs
- xsdvalidator.cs
- RouteCollection.cs
- ViewCellSlot.cs
- WebBrowserContainer.cs
- PropertyChangedEventArgs.cs
- ReadOnlyAttribute.cs
- RevocationPoint.cs
- SQLGuid.cs
- ModelUIElement3D.cs
- RegexTree.cs
- ReachNamespaceInfo.cs
- ConnectionStringsSection.cs
- StickyNoteHelper.cs
- DataGridViewMethods.cs
- RelationshipDetailsRow.cs
- HtmlTableCell.cs
- ECDsa.cs
- Timer.cs
- ThicknessConverter.cs
- URIFormatException.cs
- TypeHelper.cs
- BooleanStorage.cs
- ICollection.cs
- TraversalRequest.cs
- ElapsedEventArgs.cs
- TimelineClockCollection.cs
- EditingContext.cs
- VoiceObjectToken.cs
- ClientEventManager.cs
- UIElement.cs
- AutomationEvent.cs
- ClientRuntimeConfig.cs
- XmlRawWriter.cs
- ConstructorNeedsTagAttribute.cs
- SafeLocalMemHandle.cs
- IntSecurity.cs
- FormViewInsertedEventArgs.cs
- SessionSwitchEventArgs.cs
- RegexWriter.cs
- CharacterString.cs
- DataGridViewTextBoxColumn.cs
- ControlCachePolicy.cs
- CursorConverter.cs
- IIS7WorkerRequest.cs
- StrongNameUtility.cs
- DesignerImageAdapter.cs
- StandardCommandToolStripMenuItem.cs
- Substitution.cs
- SessionPageStateSection.cs
- _AcceptOverlappedAsyncResult.cs
- AssemblyBuilderData.cs