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
- FileDialogCustomPlace.cs
- ColorAnimationUsingKeyFrames.cs
- MsmqDiagnostics.cs
- PropertyGridView.cs
- MembershipPasswordException.cs
- BmpBitmapEncoder.cs
- DbConnectionPoolOptions.cs
- CqlErrorHelper.cs
- CodeAccessPermission.cs
- VirtualPath.cs
- DrawListViewColumnHeaderEventArgs.cs
- CompiledQuery.cs
- Utils.cs
- MSAAWinEventWrap.cs
- ImmutableObjectAttribute.cs
- ProjectedWrapper.cs
- sqlmetadatafactory.cs
- InkCanvasSelectionAdorner.cs
- ChildrenQuery.cs
- EntityTypeEmitter.cs
- MaskDescriptors.cs
- RichTextBox.cs
- SystemIcmpV6Statistics.cs
- DesignerForm.cs
- HMACSHA384.cs
- ExecutedRoutedEventArgs.cs
- DataBoundControl.cs
- ObjectRef.cs
- _BufferOffsetSize.cs
- FormsIdentity.cs
- ExtensionFile.cs
- ResXResourceReader.cs
- PagesSection.cs
- DataGridViewAdvancedBorderStyle.cs
- HttpCachePolicyElement.cs
- SecurityHeaderTokenResolver.cs
- EventSourceCreationData.cs
- TabControlDesigner.cs
- OleDbInfoMessageEvent.cs
- HttpHeaderCollection.cs
- SubordinateTransaction.cs
- WinEventWrap.cs
- DateTimeOffsetStorage.cs
- XmlEncodedRawTextWriter.cs
- EntitySetDataBindingList.cs
- CompositeDuplexBindingElementImporter.cs
- SrgsDocument.cs
- TypefaceMetricsCache.cs
- OraclePermission.cs
- DetailsViewInsertEventArgs.cs
- ZoomComboBox.cs
- StringOutput.cs
- EntityContainerEntitySetDefiningQuery.cs
- SessionEndingEventArgs.cs
- ToolStripContainer.cs
- ExtendedPropertyCollection.cs
- SHA1.cs
- XPathNodeHelper.cs
- ChannelManager.cs
- ProbeMatchesApril2005.cs
- MenuTracker.cs
- AnnotationResourceChangedEventArgs.cs
- PersonalizableTypeEntry.cs
- LinqToSqlWrapper.cs
- CompilationUtil.cs
- EntityContainerEntitySet.cs
- AggregateException.cs
- DefaultSettingsSection.cs
- RegexCharClass.cs
- FixedSOMFixedBlock.cs
- DocumentReference.cs
- InternalResources.cs
- SmiContext.cs
- ConfigUtil.cs
- XmlDigitalSignatureProcessor.cs
- DataColumnCollection.cs
- NextPreviousPagerField.cs
- StateBag.cs
- ScriptControlManager.cs
- ScrollItemPattern.cs
- KeyBinding.cs
- XmlSchemaComplexType.cs
- SynchronousChannel.cs
- IsolatedStorageFile.cs
- _Connection.cs
- ToolboxDataAttribute.cs
- IMembershipProvider.cs
- TrackingMemoryStream.cs
- Config.cs
- FileCodeGroup.cs
- RecordsAffectedEventArgs.cs
- ImageConverter.cs
- OledbConnectionStringbuilder.cs
- LayoutEditorPart.cs
- AmbientValueAttribute.cs
- UnknownExceptionActionHelper.cs
- CodeGenerator.cs
- EntityCommandExecutionException.cs
- FileUpload.cs
- UnionCodeGroup.cs