Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / Host / ActiveDesignSurfaceEvent.cs / 1 / ActiveDesignSurfaceEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design { ////// An event handler for the ActiveDesignSurfaceChanged event. /// public delegate void ActiveDesignSurfaceChangedEventHandler(object sender, ActiveDesignSurfaceChangedEventArgs e); ////// The event args for the ActiveDesignSurface event. /// public class ActiveDesignSurfaceChangedEventArgs : EventArgs { private DesignSurface _oldSurface; private DesignSurface _newSurface; ////// Creates a new ActiveDesignSurfaceChangedEventArgs instance. /// public ActiveDesignSurfaceChangedEventArgs(DesignSurface oldSurface, DesignSurface newSurface) { _oldSurface = oldSurface; _newSurface = newSurface; } ////// Gets the design surface that is losing activation. /// public DesignSurface OldSurface { get { return _oldSurface; } } ////// Gets the design surface that is gaining activation. /// public DesignSurface NewSurface { get { return _newSurface; } } } } // 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
- PersonalizationProvider.cs
- ColorConverter.cs
- WebPartEditorOkVerb.cs
- XMLDiffLoader.cs
- WebEventCodes.cs
- SoapCodeExporter.cs
- MetadataException.cs
- ModelFunctionTypeElement.cs
- RenderDataDrawingContext.cs
- CreateParams.cs
- PerformanceCounterManager.cs
- TypeElement.cs
- RadialGradientBrush.cs
- WebPartUserCapability.cs
- SafeRightsManagementSessionHandle.cs
- ImpersonationContext.cs
- QueryStoreStatusRequest.cs
- XamlDesignerSerializationManager.cs
- MsmqReceiveHelper.cs
- ConnectionManagementElement.cs
- FontSourceCollection.cs
- JsonXmlDataContract.cs
- SmtpAuthenticationManager.cs
- TypeHelper.cs
- Cloud.cs
- HMACSHA1.cs
- HeaderedItemsControl.cs
- TraceListeners.cs
- URLString.cs
- ServicesUtilities.cs
- Context.cs
- DiagnosticTraceRecords.cs
- TableLayoutPanelBehavior.cs
- Soap.cs
- VerificationException.cs
- Int16AnimationUsingKeyFrames.cs
- ProofTokenCryptoHandle.cs
- Storyboard.cs
- OpenTypeLayoutCache.cs
- GreaterThanOrEqual.cs
- TransformPattern.cs
- EntityDataSourceDesigner.cs
- Timer.cs
- DefaultAsyncDataDispatcher.cs
- XmlDataSourceNodeDescriptor.cs
- XmlAttribute.cs
- XsltLoader.cs
- DllNotFoundException.cs
- WorkerRequest.cs
- LinqDataSourceInsertEventArgs.cs
- ToolboxBitmapAttribute.cs
- TabRenderer.cs
- SiteMapDataSourceView.cs
- Variant.cs
- HexParser.cs
- ConnectionProviderAttribute.cs
- TreeNodeClickEventArgs.cs
- AppSettingsReader.cs
- ZipPackagePart.cs
- DataControlImageButton.cs
- FileCodeGroup.cs
- NamespaceDecl.cs
- ManifestResourceInfo.cs
- ZipIOExtraField.cs
- MarshalByRefObject.cs
- ChildChangedEventArgs.cs
- TypeDescriptionProvider.cs
- Path.cs
- SoapAttributeOverrides.cs
- SafeProcessHandle.cs
- GPPOINTF.cs
- __Error.cs
- MessagePartProtectionMode.cs
- XmlSchemaAll.cs
- QilStrConcat.cs
- MSAAEventDispatcher.cs
- SerializationStore.cs
- UriExt.cs
- TypeSystem.cs
- HitTestParameters3D.cs
- TextServicesDisplayAttributePropertyRanges.cs
- Membership.cs
- RootProfilePropertySettingsCollection.cs
- ServiceOperationWrapper.cs
- SecurityResources.cs
- PropertyNames.cs
- WebBrowserPermission.cs
- AssemblyAssociatedContentFileAttribute.cs
- SqlCacheDependencyDatabaseCollection.cs
- Int32EqualityComparer.cs
- GlobalItem.cs
- PartialCachingAttribute.cs
- TextWriterTraceListener.cs
- IconEditor.cs
- MasterPageBuildProvider.cs
- CodeMemberMethod.cs
- SelectionEditingBehavior.cs
- TraceSection.cs
- SoapAttributes.cs
- Localizer.cs