Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / Host / DesignSurfaceEvent.cs / 1 / DesignSurfaceEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design { ////// /// Event handler for the DesignSurface event. /// public delegate void DesignSurfaceEventHandler(object sender, DesignSurfaceEventArgs e); ////// /// Event args for the DesignSurface event. /// public class DesignSurfaceEventArgs : EventArgs { private DesignSurface _surface; ////// /// Creates a new DesignSurfaceEventArgs for the given design surface. /// public DesignSurfaceEventArgs(DesignSurface surface) { if (surface == null) { throw new ArgumentNullException("surface"); } _surface = surface; } ////// /// The design surface passed into the constructor. /// public DesignSurface Surface { get { return _surface; } } } } // 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
- FileEnumerator.cs
- MobileListItemCollection.cs
- PeerApplicationLaunchInfo.cs
- CheckBoxField.cs
- RepeaterCommandEventArgs.cs
- RepeaterItem.cs
- MarkupObject.cs
- PanelStyle.cs
- util.cs
- HtmlInputText.cs
- WsdlInspector.cs
- BookmarkWorkItem.cs
- XmlSchemaDocumentation.cs
- PathSegment.cs
- InputMethodStateChangeEventArgs.cs
- TextBox.cs
- CqlLexer.cs
- UpdatePanelTrigger.cs
- GetMemberBinder.cs
- wmiprovider.cs
- Base64Encoder.cs
- PolicyValidationException.cs
- ItemsPanelTemplate.cs
- DbConnectionPoolCounters.cs
- DataGridViewCellParsingEventArgs.cs
- DocumentReferenceCollection.cs
- AnnotationComponentManager.cs
- RectAnimationClockResource.cs
- DiscoveryDocumentReference.cs
- XmlStringTable.cs
- BrowserInteropHelper.cs
- AssemblyAttributesGoHere.cs
- DataSvcMapFileSerializer.cs
- SoapEnvelopeProcessingElement.cs
- CachedBitmap.cs
- VScrollBar.cs
- SettingsPropertyValueCollection.cs
- FileRecordSequence.cs
- datacache.cs
- BindingCollection.cs
- TypeExtensionConverter.cs
- DictationGrammar.cs
- DesignerCalendarAdapter.cs
- CustomCredentialPolicy.cs
- TemplateBindingExtensionConverter.cs
- AspNetHostingPermission.cs
- ScriptResourceHandler.cs
- Item.cs
- SQLByte.cs
- RetrieveVirtualItemEventArgs.cs
- ValidatorUtils.cs
- StringPropertyBuilder.cs
- FullTextBreakpoint.cs
- SerializationSectionGroup.cs
- WindowsIdentity.cs
- TransformDescriptor.cs
- ScrollBar.cs
- PersistenceException.cs
- XmlMapping.cs
- AppDomainAttributes.cs
- WorkItem.cs
- HtmlTableCell.cs
- StandardOleMarshalObject.cs
- WebPartsPersonalization.cs
- WebPartMinimizeVerb.cs
- EventDescriptorCollection.cs
- Attributes.cs
- RelationshipNavigation.cs
- VisemeEventArgs.cs
- WorkBatch.cs
- TextServicesManager.cs
- SR.cs
- EventMappingSettingsCollection.cs
- DataSetMappper.cs
- ProtectedConfigurationProviderCollection.cs
- WpfGeneratedKnownProperties.cs
- QueuePropertyVariants.cs
- DnsEndpointIdentity.cs
- AdornerPresentationContext.cs
- OperationContextScope.cs
- assertwrapper.cs
- ControlCodeDomSerializer.cs
- WebScriptClientGenerator.cs
- XmlSerializerNamespaces.cs
- AuthenticationSection.cs
- WebPartDisplayMode.cs
- ParenthesizePropertyNameAttribute.cs
- LinqExpressionNormalizer.cs
- XmlTextWriter.cs
- ConfigXmlSignificantWhitespace.cs
- PartialList.cs
- TableAutomationPeer.cs
- StatusBarPanelClickEvent.cs
- Visual3D.cs
- UiaCoreProviderApi.cs
- CredentialManagerDialog.cs
- ActivityPreviewDesigner.cs
- HandlerBase.cs
- UserPersonalizationStateInfo.cs
- UpdateExpressionVisitor.cs