Code:
/ DotNET / DotNET / 8.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
- PostBackOptions.cs
- Freezable.cs
- LinqDataSourceEditData.cs
- BitmapEffectInputData.cs
- MetafileHeaderWmf.cs
- InputDevice.cs
- ContextMenuAutomationPeer.cs
- OpenFileDialog.cs
- SetStoryboardSpeedRatio.cs
- wgx_commands.cs
- AffineTransform3D.cs
- ConfigsHelper.cs
- CodeTypeDeclarationCollection.cs
- PageSetupDialog.cs
- PromptEventArgs.cs
- ObjectConverter.cs
- Transactions.cs
- ScriptReferenceBase.cs
- CodeMethodInvokeExpression.cs
- DataControlFieldCell.cs
- Stroke.cs
- ColorTransform.cs
- DesignerOptionService.cs
- XmlDocumentType.cs
- ColorConverter.cs
- FormatException.cs
- TransactionManager.cs
- SoapSchemaExporter.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DecimalConverter.cs
- CqlParserHelpers.cs
- SchemaCollectionCompiler.cs
- BindableAttribute.cs
- TreeNodeStyleCollection.cs
- SessionStateItemCollection.cs
- CharEnumerator.cs
- DictionarySurrogate.cs
- AccessedThroughPropertyAttribute.cs
- FixedSOMTableCell.cs
- FlowDocumentReaderAutomationPeer.cs
- WorkerRequest.cs
- XmlSerializer.cs
- UserPreference.cs
- DispatcherExceptionFilterEventArgs.cs
- AccessViolationException.cs
- LineVisual.cs
- TemplateControlCodeDomTreeGenerator.cs
- WebPartConnectionsConfigureVerb.cs
- InvokeWebServiceDesigner.cs
- DateTimeUtil.cs
- SafeFileMapViewHandle.cs
- TemporaryBitmapFile.cs
- CommandExpr.cs
- TableItemProviderWrapper.cs
- EdmToObjectNamespaceMap.cs
- Dynamic.cs
- PopOutPanel.cs
- DesignerLoader.cs
- StreamGeometryContext.cs
- BufferBuilder.cs
- RegisteredScript.cs
- SynchronizedDispatch.cs
- ISAPIWorkerRequest.cs
- TextBoxAutomationPeer.cs
- Tracking.cs
- ConfigurationStrings.cs
- AbandonedMutexException.cs
- ActionFrame.cs
- RuntimeResourceSet.cs
- securestring.cs
- TemplateEditingService.cs
- SiteIdentityPermission.cs
- CssTextWriter.cs
- MessageSmuggler.cs
- ConnectionsZone.cs
- ValueConversionAttribute.cs
- CanonicalFontFamilyReference.cs
- ToolStripPanelRow.cs
- MemberMemberBinding.cs
- SchemaNotation.cs
- NativeConfigurationLoader.cs
- SafeArrayRankMismatchException.cs
- HostUtils.cs
- SQLInt16.cs
- EntityViewGenerationAttribute.cs
- SqlConnectionFactory.cs
- WindowsRebar.cs
- XMLDiffLoader.cs
- CodeDirectionExpression.cs
- MergeLocalizationDirectives.cs
- HttpWebRequest.cs
- ValidationEventArgs.cs
- RowType.cs
- CodeAccessPermission.cs
- _IPv6Address.cs
- FileSystemInfo.cs
- HtmlHead.cs
- SafeRightsManagementSessionHandle.cs
- MailAddressParser.cs
- ScriptingJsonSerializationSection.cs