Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AdapterUtil.cs
- ErrorHandler.cs
- AddInAttribute.cs
- BinaryKeyIdentifierClause.cs
- SurrogateEncoder.cs
- Typography.cs
- Logging.cs
- EtwTrace.cs
- DataControlFieldCell.cs
- SqlDataAdapter.cs
- Lasso.cs
- XmlNamespaceDeclarationsAttribute.cs
- ConcurrencyMode.cs
- DispatcherTimer.cs
- IndexerNameAttribute.cs
- PeerObject.cs
- ListViewItem.cs
- LinkUtilities.cs
- ScriptingWebServicesSectionGroup.cs
- DecoderBestFitFallback.cs
- DataGridItemCollection.cs
- SecurityElement.cs
- MapPathBasedVirtualPathProvider.cs
- Rect.cs
- BinaryEditor.cs
- AttributeAction.cs
- ToolStripTextBox.cs
- WmpBitmapEncoder.cs
- Comparer.cs
- CommentAction.cs
- SHA384.cs
- AdCreatedEventArgs.cs
- PassportAuthenticationEventArgs.cs
- Parameter.cs
- TraceLog.cs
- DocumentXmlWriter.cs
- SystemParameters.cs
- DispatcherProcessingDisabled.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- ClientOperation.cs
- DataGridViewSelectedCellCollection.cs
- TreeNodeClickEventArgs.cs
- DataSetViewSchema.cs
- SqlHelper.cs
- SqlXml.cs
- Point4DConverter.cs
- ResourceWriter.cs
- RadioButtonList.cs
- SoundPlayerAction.cs
- FormatException.cs
- MailDefinition.cs
- DesignerSelectionListAdapter.cs
- CodeAttributeDeclaration.cs
- CheckBoxPopupAdapter.cs
- BindingContext.cs
- CloseCollectionAsyncResult.cs
- BitmapSourceSafeMILHandle.cs
- MultiSelectRootGridEntry.cs
- TypeResolver.cs
- TreeIterator.cs
- PersonalizationState.cs
- AutoResetEvent.cs
- UIElement3D.cs
- DuplicateContext.cs
- SQlBooleanStorage.cs
- XmlName.cs
- Transform.cs
- AbstractSvcMapFileLoader.cs
- SoapCodeExporter.cs
- SqlClientPermission.cs
- AuthenticationModulesSection.cs
- SmtpNegotiateAuthenticationModule.cs
- URLIdentityPermission.cs
- HttpPostLocalhostServerProtocol.cs
- CategoryGridEntry.cs
- FileSystemEventArgs.cs
- ProjectionRewriter.cs
- CalendarDateRange.cs
- UnmanagedMarshal.cs
- DataListItem.cs
- DecimalFormatter.cs
- SoapIncludeAttribute.cs
- EtwTrace.cs
- WebPartMenu.cs
- CapabilitiesSection.cs
- XmlKeywords.cs
- ParseElement.cs
- RemotingAttributes.cs
- MenuItemBinding.cs
- ColorContextHelper.cs
- StylusPointPropertyId.cs
- ProcessHostConfigUtils.cs
- OdbcConnectionHandle.cs
- FixedPage.cs
- GradientSpreadMethodValidation.cs
- ValidationHelper.cs
- HTTPNotFoundHandler.cs
- LookupBindingPropertiesAttribute.cs
- WindowsButton.cs
- ZipIOExtraFieldZip64Element.cs