Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompModSwitches.cs
- CheckBoxBaseAdapter.cs
- EventLogPermission.cs
- Int32CollectionConverter.cs
- PropertyItem.cs
- NodeFunctions.cs
- PrintEvent.cs
- ClientTargetCollection.cs
- XmlSubtreeReader.cs
- OleDbErrorCollection.cs
- ProfilePropertyNameValidator.cs
- DocumentAutomationPeer.cs
- HttpStreamMessage.cs
- XmlSchemaAnnotation.cs
- TypeSemantics.cs
- Literal.cs
- ResourceKey.cs
- GeometryDrawing.cs
- parserscommon.cs
- EventItfInfo.cs
- X509Certificate.cs
- ItemsChangedEventArgs.cs
- DataSourceXmlSubItemAttribute.cs
- SiteMapSection.cs
- XmlArrayItemAttribute.cs
- MonitoringDescriptionAttribute.cs
- RemoteTokenFactory.cs
- TrackingLocationCollection.cs
- RepeaterDataBoundAdapter.cs
- ColumnHeader.cs
- COMException.cs
- RowCache.cs
- EqualityComparer.cs
- GlyphingCache.cs
- HMACMD5.cs
- VectorValueSerializer.cs
- QueryOutputWriter.cs
- Math.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- ConfigurationPropertyCollection.cs
- DataKeyCollection.cs
- TreeBuilderXamlTranslator.cs
- ListItemConverter.cs
- UserThread.cs
- SafeCryptoHandles.cs
- BindToObject.cs
- CodeTypeDelegate.cs
- _TransmitFileOverlappedAsyncResult.cs
- FixedDocumentSequencePaginator.cs
- MetadataCacheItem.cs
- SystemIPv6InterfaceProperties.cs
- PermissionSet.cs
- PrintPageEvent.cs
- BoundsDrawingContextWalker.cs
- DataPagerFieldCollection.cs
- ObjectQueryState.cs
- ScrollBarAutomationPeer.cs
- SafePointer.cs
- Thickness.cs
- WebServiceData.cs
- SelectionRangeConverter.cs
- TypeCacheManager.cs
- Point3DCollection.cs
- EdmItemError.cs
- DeferredReference.cs
- DispatcherObject.cs
- WebAdminConfigurationHelper.cs
- ModelItemCollectionImpl.cs
- RewritingValidator.cs
- Walker.cs
- HttpHandlersSection.cs
- ResourcesGenerator.cs
- TextRunProperties.cs
- Menu.cs
- CreateUserWizardDesigner.cs
- QilTernary.cs
- ToolboxItemLoader.cs
- ActiveXSite.cs
- CollectionViewSource.cs
- TableRow.cs
- FontFamilyValueSerializer.cs
- SafeRightsManagementPubHandle.cs
- KeyPullup.cs
- ToolStripItemTextRenderEventArgs.cs
- BeginSelectCardRequest.cs
- SoapConverter.cs
- RegexCode.cs
- DiscoveryOperationContext.cs
- StorageComplexTypeMapping.cs
- StylusOverProperty.cs
- ContainerUtilities.cs
- designeractionlistschangedeventargs.cs
- HierarchicalDataBoundControlAdapter.cs
- XmlAnyElementAttribute.cs
- Thread.cs
- CompilerScopeManager.cs
- EventLogWatcher.cs
- SelectedDatesCollection.cs
- StrokeNode.cs
- BitmapMetadataEnumerator.cs