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
- BufferedGraphicsContext.cs
- WebPartConnectionsCloseVerb.cs
- FieldNameLookup.cs
- IOException.cs
- BitStream.cs
- SynchronizationContextHelper.cs
- WebPartVerb.cs
- SrgsElementFactory.cs
- ProxyWebPart.cs
- Mutex.cs
- ProgressBarRenderer.cs
- MappingException.cs
- ElementMarkupObject.cs
- SelectionService.cs
- XmlSiteMapProvider.cs
- DoubleCollectionConverter.cs
- DataGridAutomationPeer.cs
- ResetableIterator.cs
- ParserStreamGeometryContext.cs
- IIS7UserPrincipal.cs
- LassoSelectionBehavior.cs
- CngKeyBlobFormat.cs
- PasswordTextNavigator.cs
- HScrollBar.cs
- DescendentsWalker.cs
- CodeGotoStatement.cs
- ParseNumbers.cs
- FormViewDeletedEventArgs.cs
- RepeaterItem.cs
- JsonWriter.cs
- XamlWrapperReaders.cs
- ArrayElementGridEntry.cs
- IndentedWriter.cs
- DetailsViewPagerRow.cs
- XmlSchemaInferenceException.cs
- PlainXmlDeserializer.cs
- WindowsMenu.cs
- KeyedCollection.cs
- HtmlElementErrorEventArgs.cs
- TypeSchema.cs
- ScriptComponentDescriptor.cs
- IsolatedStorageFileStream.cs
- WebPartChrome.cs
- InfiniteTimeSpanConverter.cs
- ContractsBCL.cs
- ComboBox.cs
- WeakEventManager.cs
- DataControlImageButton.cs
- ContextMenu.cs
- ParentUndoUnit.cs
- Brush.cs
- GlobalProxySelection.cs
- InputLanguageEventArgs.cs
- ToolboxSnapDragDropEventArgs.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- documentsequencetextview.cs
- ImageIndexEditor.cs
- HandlerMappingMemo.cs
- FontStretchConverter.cs
- SettingsBase.cs
- Util.cs
- OpCopier.cs
- FacetEnabledSchemaElement.cs
- ManagedIStream.cs
- CachedPathData.cs
- AttachedAnnotation.cs
- DefaultPropertiesToSend.cs
- CombinedGeometry.cs
- Int32RectConverter.cs
- WindowsTab.cs
- ToolStripItemClickedEventArgs.cs
- XmlUnspecifiedAttribute.cs
- ValueConversionAttribute.cs
- CultureData.cs
- OrderByLifter.cs
- StaticDataManager.cs
- SiteMap.cs
- _TransmitFileOverlappedAsyncResult.cs
- ValidatingPropertiesEventArgs.cs
- SecurityKeyIdentifier.cs
- MessageDecoder.cs
- glyphs.cs
- CodeTryCatchFinallyStatement.cs
- EntityClassGenerator.cs
- GridViewPageEventArgs.cs
- SelectionHighlightInfo.cs
- VectorAnimationBase.cs
- FixedPage.cs
- BitStream.cs
- PeerObject.cs
- TokenBasedSetEnumerator.cs
- ViewDesigner.cs
- UnsafeNativeMethods.cs
- SoapWriter.cs
- webproxy.cs
- PrivilegeNotHeldException.cs
- CodeDOMProvider.cs
- OdbcError.cs
- NullToBooleanConverter.cs
- EventProviderBase.cs