Code:
/ DotNET / DotNET / 8.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
- HtmlToClrEventProxy.cs
- DataGridViewHitTestInfo.cs
- SmtpAuthenticationManager.cs
- ViewLoader.cs
- QueryLifecycle.cs
- ArgIterator.cs
- WinFormsSecurity.cs
- WebPartRestoreVerb.cs
- CreateRefExpr.cs
- XamlHostingSection.cs
- SettingsPropertyCollection.cs
- MergeFailedEvent.cs
- AuthenticateEventArgs.cs
- HeaderPanel.cs
- WindowsListViewGroup.cs
- HttpCookieCollection.cs
- CodeDomConfigurationHandler.cs
- XmlSchemaElement.cs
- TableRow.cs
- PrimitiveSchema.cs
- Int64AnimationUsingKeyFrames.cs
- ShaperBuffers.cs
- ScrollChangedEventArgs.cs
- SlipBehavior.cs
- Subtract.cs
- DatagridviewDisplayedBandsData.cs
- basemetadatamappingvisitor.cs
- ResourceAttributes.cs
- XmlSortKey.cs
- SapiRecoContext.cs
- XmlNamespaceManager.cs
- WebBrowserPermission.cs
- ClientUIRequest.cs
- Lasso.cs
- MimeObjectFactory.cs
- XmlConverter.cs
- DSACryptoServiceProvider.cs
- ContentFileHelper.cs
- ActivationArguments.cs
- RepeaterItemCollection.cs
- SmiXetterAccessMap.cs
- XPathAncestorIterator.cs
- MatcherBuilder.cs
- InfiniteIntConverter.cs
- XPathPatternParser.cs
- IndentedTextWriter.cs
- UriSection.cs
- InitializeCorrelation.cs
- _AcceptOverlappedAsyncResult.cs
- PolicyDesigner.cs
- XmlSerializerAssemblyAttribute.cs
- TreeViewHitTestInfo.cs
- OpenFileDialog.cs
- UTF32Encoding.cs
- XmlSchemaImport.cs
- ImageCodecInfo.cs
- WebServiceParameterData.cs
- Exceptions.cs
- _SslState.cs
- OleDbTransaction.cs
- XmlHierarchyData.cs
- newinstructionaction.cs
- RemotingAttributes.cs
- InspectionWorker.cs
- RepeatEnumerable.cs
- MappingException.cs
- OrderPreservingMergeHelper.cs
- UnsafeNativeMethodsPenimc.cs
- namescope.cs
- EntityDataSourceWrapperCollection.cs
- SBCSCodePageEncoding.cs
- DbUpdateCommandTree.cs
- StylusCollection.cs
- CompilerTypeWithParams.cs
- LinearKeyFrames.cs
- SystemPens.cs
- LockRecoveryTask.cs
- counter.cs
- SqlStream.cs
- DES.cs
- Msmq4PoisonHandler.cs
- Vars.cs
- ConvertEvent.cs
- NativeMethodsCLR.cs
- HtmlAnchor.cs
- WebPartMovingEventArgs.cs
- ProgressBar.cs
- QilXmlWriter.cs
- X509ChainElement.cs
- WinFormsSpinner.cs
- FontFamilyConverter.cs
- IPHostEntry.cs
- BitmapEffect.cs
- mediaeventargs.cs
- TargetConverter.cs
- BaseParagraph.cs
- HtmlFormAdapter.cs
- PeerNameRecord.cs
- SafeNativeMethodsCLR.cs
- activationcontext.cs