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
- CompositeActivityTypeDescriptor.cs
- XmlUnspecifiedAttribute.cs
- ObjectDataSourceMethodEventArgs.cs
- CacheAxisQuery.cs
- AuthenticationModuleElementCollection.cs
- OperationPickerDialog.cs
- CultureTableRecord.cs
- MediaEntryAttribute.cs
- DataGridViewCellConverter.cs
- AnimationTimeline.cs
- XhtmlBasicValidationSummaryAdapter.cs
- InfoCardTraceRecord.cs
- MULTI_QI.cs
- Thickness.cs
- Freezable.cs
- MultitargetingHelpers.cs
- Visitors.cs
- HtmlToClrEventProxy.cs
- KeyManager.cs
- xdrvalidator.cs
- DataTableReaderListener.cs
- ValidationUtility.cs
- EventLogPermissionHolder.cs
- UrlMappingsSection.cs
- XPathQilFactory.cs
- InvalidFilterCriteriaException.cs
- MDIClient.cs
- DBNull.cs
- SizeConverter.cs
- CollectionChangeEventArgs.cs
- PopOutPanel.cs
- FieldDescriptor.cs
- DrawingCollection.cs
- FontFamily.cs
- ObjectItemNoOpAssemblyLoader.cs
- PerfCounterSection.cs
- DesignerRegionCollection.cs
- IdentityManager.cs
- COM2ICategorizePropertiesHandler.cs
- InheritablePropertyChangeInfo.cs
- Identity.cs
- WebPartsSection.cs
- Thread.cs
- ImageBrush.cs
- EntityDescriptor.cs
- DataKeyCollection.cs
- HandledMouseEvent.cs
- dataSvcMapFileLoader.cs
- HttpStreamMessage.cs
- Color.cs
- Matrix.cs
- DataObjectAttribute.cs
- ArrangedElementCollection.cs
- ChangePasswordAutoFormat.cs
- XAMLParseException.cs
- PerformanceCounterManager.cs
- SelectionProviderWrapper.cs
- SmtpNegotiateAuthenticationModule.cs
- AutomationElement.cs
- Size.cs
- ActivityMarkupSerializer.cs
- WebPartAddingEventArgs.cs
- DataListCommandEventArgs.cs
- PrintDialog.cs
- ObjectStateFormatter.cs
- ServiceModelActivationSectionGroup.cs
- Operand.cs
- GradientStop.cs
- ErrorTolerantObjectWriter.cs
- FixedSOMSemanticBox.cs
- ObjectViewEntityCollectionData.cs
- UnsafeNativeMethods.cs
- TextViewBase.cs
- SectionInformation.cs
- ObjectDataSource.cs
- LocatorBase.cs
- PropertyMetadata.cs
- DocumentDesigner.cs
- DataTemplateKey.cs
- SystemDiagnosticsSection.cs
- SqlNotificationEventArgs.cs
- ConnectionPoint.cs
- Comparer.cs
- WsdlParser.cs
- StopStoryboard.cs
- ImageCollectionEditor.cs
- TextDecorationUnitValidation.cs
- DataGridCell.cs
- InputMethod.cs
- PropertyDescriptorComparer.cs
- UpdateEventArgs.cs
- ApplicationFileParser.cs
- XmlAnyAttributeAttribute.cs
- SizeIndependentAnimationStorage.cs
- WebContext.cs
- SessionViewState.cs
- TextFormatterImp.cs
- JavaScriptString.cs
- WebSysDefaultValueAttribute.cs
- RecognitionEventArgs.cs