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
- KeyValuePair.cs
- DbQueryCommandTree.cs
- VirtualizedItemProviderWrapper.cs
- DesignTimeTemplateParser.cs
- followingsibling.cs
- WindowsScrollBar.cs
- RpcResponse.cs
- AmbientLight.cs
- FontFaceLayoutInfo.cs
- TargetException.cs
- DocumentReferenceCollection.cs
- QueryContinueDragEventArgs.cs
- CanonicalXml.cs
- ToolStripArrowRenderEventArgs.cs
- MachineKeySection.cs
- TextServicesLoader.cs
- PointF.cs
- LoopExpression.cs
- TextReader.cs
- SqlDataSourceCommandEventArgs.cs
- RowUpdatedEventArgs.cs
- SafeBitVector32.cs
- CollectionViewProxy.cs
- TextRunProperties.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ObjectStateEntry.cs
- AtomicFile.cs
- PropertyDescriptorCollection.cs
- GridView.cs
- WindowsTab.cs
- DropShadowBitmapEffect.cs
- PersonalizableAttribute.cs
- SourceElementsCollection.cs
- SafePEFileHandle.cs
- IdnMapping.cs
- BamlMapTable.cs
- ElementAction.cs
- DataReaderContainer.cs
- TextContainerChangeEventArgs.cs
- LabelDesigner.cs
- FormViewDeletedEventArgs.cs
- SqlCrossApplyToCrossJoin.cs
- FilteredXmlReader.cs
- AsyncContentLoadedEventArgs.cs
- ServiceDebugBehavior.cs
- HtmlHead.cs
- CriticalHandle.cs
- ThicknessAnimationBase.cs
- PatternMatcher.cs
- MessagingDescriptionAttribute.cs
- GenericQueueSurrogate.cs
- GroupQuery.cs
- GetWinFXPath.cs
- XsltLoader.cs
- SystemNetworkInterface.cs
- SingleTagSectionHandler.cs
- LocationReference.cs
- XmlComplianceUtil.cs
- BlurBitmapEffect.cs
- DBSqlParser.cs
- Token.cs
- BadImageFormatException.cs
- IChannel.cs
- sitestring.cs
- TaskFactory.cs
- ClientFormsIdentity.cs
- NameValuePair.cs
- TreeNodeMouseHoverEvent.cs
- Menu.cs
- OptimizedTemplateContentHelper.cs
- EventWaitHandleSecurity.cs
- AccessKeyManager.cs
- QueryAsyncResult.cs
- ComponentConverter.cs
- CollectionType.cs
- ConnectionConsumerAttribute.cs
- PositiveTimeSpanValidatorAttribute.cs
- RuntimeTransactionHandle.cs
- SqlMethodTransformer.cs
- SoapMessage.cs
- BufferedOutputStream.cs
- BaseParaClient.cs
- ResourcePart.cs
- SoundPlayerAction.cs
- DataGridViewCellValueEventArgs.cs
- IteratorFilter.cs
- IntersectQueryOperator.cs
- PlaceHolder.cs
- XmlStreamStore.cs
- SrgsDocument.cs
- SqlAliaser.cs
- WebConfigurationHost.cs
- ToolStripMenuItemCodeDomSerializer.cs
- PathFigureCollection.cs
- AggregateNode.cs
- PlatformNotSupportedException.cs
- ProxyWebPartManager.cs
- XsltInput.cs
- NativeObjectSecurity.cs
- EntityDataReader.cs