Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XmlSchemaFacet.cs
- Literal.cs
- EnterpriseServicesHelper.cs
- TabletDevice.cs
- ActiveXContainer.cs
- AutomationIdentifier.cs
- UTF8Encoding.cs
- MenuItemStyleCollectionEditor.cs
- FigureParagraph.cs
- DriveInfo.cs
- HttpValueCollection.cs
- DataConnectionHelper.cs
- StorageComplexPropertyMapping.cs
- XmlSchemaNotation.cs
- PropertiesTab.cs
- StorageComplexPropertyMapping.cs
- MasterPageBuildProvider.cs
- SortedSetDebugView.cs
- FixedFindEngine.cs
- CqlParserHelpers.cs
- ProfileGroupSettings.cs
- StringDictionaryEditor.cs
- ValuePattern.cs
- SoapCodeExporter.cs
- WebPartsPersonalization.cs
- SystemUdpStatistics.cs
- RenderOptions.cs
- IndentTextWriter.cs
- HitTestResult.cs
- ManagementException.cs
- GeometryModel3D.cs
- MailMessage.cs
- SizeAnimationClockResource.cs
- Match.cs
- XPathDocument.cs
- Vector3DConverter.cs
- TemplateBaseAction.cs
- AppDomainFactory.cs
- PolyLineSegmentFigureLogic.cs
- PageContentCollection.cs
- InternalSafeNativeMethods.cs
- AssertSection.cs
- MatrixTransform3D.cs
- InternalDuplexBindingElement.cs
- AttributeCollection.cs
- CacheChildrenQuery.cs
- VisualTreeFlattener.cs
- OptimalTextSource.cs
- VectorCollectionConverter.cs
- DiscriminatorMap.cs
- PropertyEmitter.cs
- HttpResponse.cs
- TextTreeDeleteContentUndoUnit.cs
- DataComponentMethodGenerator.cs
- TextEncodedRawTextWriter.cs
- BinaryConverter.cs
- SqlXmlStorage.cs
- HtmlInputControl.cs
- WsdlBuildProvider.cs
- SmiContextFactory.cs
- MessageContractExporter.cs
- DefaultAsyncDataDispatcher.cs
- Screen.cs
- CodeIdentifiers.cs
- AttributeConverter.cs
- PerCallInstanceContextProvider.cs
- ProfileInfo.cs
- StaticFileHandler.cs
- SafeProcessHandle.cs
- RelatedImageListAttribute.cs
- KeyFrames.cs
- InternalResources.cs
- ComponentCache.cs
- WorkItem.cs
- XamlReaderConstants.cs
- ProviderConnectionPoint.cs
- XmlUtf8RawTextWriter.cs
- DataGridColumnEventArgs.cs
- IDispatchConstantAttribute.cs
- SystemUnicastIPAddressInformation.cs
- DynamicUpdateCommand.cs
- WebServiceAttribute.cs
- TemplateBamlTreeBuilder.cs
- KeysConverter.cs
- SupportingTokenParameters.cs
- FunctionMappingTranslator.cs
- ExceptionNotification.cs
- EntityCommandExecutionException.cs
- ProfileProvider.cs
- ItemCollection.cs
- OdbcConnectionHandle.cs
- RemoteWebConfigurationHost.cs
- UriTemplateDispatchFormatter.cs
- ChangeConflicts.cs
- StylusPointProperties.cs
- Tablet.cs
- sqlmetadatafactory.cs
- HandleRef.cs
- RegexCapture.cs
- ProcessManager.cs