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
- LocalizabilityAttribute.cs
- SizeLimitedCache.cs
- TimeSpanMinutesConverter.cs
- WorkerRequest.cs
- FileDialogPermission.cs
- SolidColorBrush.cs
- ConfigurationSectionGroup.cs
- FileRecordSequenceHelper.cs
- FontFamily.cs
- HGlobalSafeHandle.cs
- Image.cs
- MembershipSection.cs
- PropertyGrid.cs
- SiteMapPath.cs
- WindowsRegion.cs
- CapabilitiesPattern.cs
- ContentIterators.cs
- Geometry3D.cs
- HotSpotCollection.cs
- RawStylusSystemGestureInputReport.cs
- PropertyTab.cs
- OdbcConnection.cs
- SecurityKeyUsage.cs
- WebContentFormatHelper.cs
- ServiceNameElementCollection.cs
- ParameterCollectionEditor.cs
- Renderer.cs
- HttpRequestCacheValidator.cs
- Directory.cs
- SafeLibraryHandle.cs
- WebPartEditorCancelVerb.cs
- MDIControlStrip.cs
- OracleRowUpdatedEventArgs.cs
- RegexGroup.cs
- SplitterEvent.cs
- ProtocolViolationException.cs
- CachedFontFamily.cs
- Mutex.cs
- KeyValuePairs.cs
- FunctionImportMapping.cs
- XmlWrappingReader.cs
- VariantWrapper.cs
- ProcessThread.cs
- FilteredDataSetHelper.cs
- SimpleTypeResolver.cs
- SecurityContext.cs
- MenuScrollingVisibilityConverter.cs
- AbandonedMutexException.cs
- DataControlFieldCollection.cs
- UndoUnit.cs
- AQNBuilder.cs
- DbgUtil.cs
- SessionStateContainer.cs
- Point4D.cs
- ServiceOperation.cs
- ClientFactory.cs
- SkinBuilder.cs
- NameValueConfigurationCollection.cs
- ZipIOLocalFileDataDescriptor.cs
- XmlSchemaObjectCollection.cs
- RadialGradientBrush.cs
- RuleSettings.cs
- ToolStripSystemRenderer.cs
- EmptyCollection.cs
- ExpressionSelection.cs
- QueryExpr.cs
- XDRSchema.cs
- HttpGetServerProtocol.cs
- HttpPostedFile.cs
- DataGridHeaderBorder.cs
- ResourceDictionary.cs
- XmlSchemaImporter.cs
- SchemaElementDecl.cs
- IntSecurity.cs
- DictionaryEditChange.cs
- TextEndOfLine.cs
- ConnectionPointCookie.cs
- TypeValidationEventArgs.cs
- Transform.cs
- FontStretch.cs
- SizeLimitedCache.cs
- BuildProviderAppliesToAttribute.cs
- remotingproxy.cs
- ProxyFragment.cs
- DefaultValidator.cs
- MaterialCollection.cs
- XmlSchemaSimpleContentRestriction.cs
- ContentAlignmentEditor.cs
- DataPagerFieldCommandEventArgs.cs
- TargetControlTypeAttribute.cs
- SwitchLevelAttribute.cs
- ChannelSinkStacks.cs
- PathSegmentCollection.cs
- SQlBooleanStorage.cs
- HostingEnvironmentException.cs
- CheckedPointers.cs
- PropertyChangingEventArgs.cs
- ButtonBase.cs
- MemberDescriptor.cs
- CompositeCollection.cs