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
- Roles.cs
- ScrollViewerAutomationPeer.cs
- QueryRewriter.cs
- ColumnCollectionEditor.cs
- TextEditorCharacters.cs
- CheckableControlBaseAdapter.cs
- ChtmlMobileTextWriter.cs
- RenderOptions.cs
- SymLanguageVendor.cs
- Sentence.cs
- TypeForwardedToAttribute.cs
- XmlQueryCardinality.cs
- Repeater.cs
- XmlReaderSettings.cs
- ByteStack.cs
- StandardToolWindows.cs
- CodeExporter.cs
- HotSpot.cs
- Profiler.cs
- SqlFactory.cs
- ErrorStyle.cs
- AuthorizationContext.cs
- DataSourceControl.cs
- ObjectDataSourceEventArgs.cs
- WCFModelStrings.Designer.cs
- ChannelAcceptor.cs
- GridItemPatternIdentifiers.cs
- RegexRunnerFactory.cs
- Set.cs
- BulletedListEventArgs.cs
- ProtocolsConfigurationEntry.cs
- PresentationSource.cs
- SHA256.cs
- EventLogInformation.cs
- AppDomain.cs
- DnsCache.cs
- PersonalizationStateInfo.cs
- HwndProxyElementProvider.cs
- UnsafeNativeMethods.cs
- NativeMethods.cs
- AssemblyName.cs
- ParenthesizePropertyNameAttribute.cs
- ObjectStateFormatter.cs
- DocumentOrderComparer.cs
- CodeTypeMember.cs
- Convert.cs
- UIElementHelper.cs
- DataGridBoolColumn.cs
- PeerDuplexChannelListener.cs
- ClickablePoint.cs
- TransformerInfo.cs
- arabicshape.cs
- ObjectDataSourceDisposingEventArgs.cs
- SmtpException.cs
- MediaScriptCommandRoutedEventArgs.cs
- SystemTcpConnection.cs
- wgx_render.cs
- TextBounds.cs
- Lasso.cs
- Material.cs
- DateTimeParse.cs
- XpsS0ValidatingLoader.cs
- Emitter.cs
- XsltLibrary.cs
- IImplicitResourceProvider.cs
- OptionalColumn.cs
- ProbeMatches11.cs
- KeyMatchBuilder.cs
- RawStylusSystemGestureInputReport.cs
- ServicePoint.cs
- XmlSerializationGeneratedCode.cs
- Buffer.cs
- IItemProperties.cs
- TextBoxAutomationPeer.cs
- UrlPath.cs
- StringUtil.cs
- NameValueConfigurationElement.cs
- _NestedSingleAsyncResult.cs
- WindowPattern.cs
- ForeignKeyConstraint.cs
- RequestCachePolicyConverter.cs
- FormViewModeEventArgs.cs
- CodeDomComponentSerializationService.cs
- CorruptingExceptionCommon.cs
- CompositionTarget.cs
- TextDecorations.cs
- BitmapEffectDrawingContextWalker.cs
- XamlReader.cs
- ConnectionManagementElementCollection.cs
- DesignerHelpers.cs
- ConstraintEnumerator.cs
- RelatedEnd.cs
- BlockCollection.cs
- WebBrowserHelper.cs
- TranslateTransform3D.cs
- Int16AnimationBase.cs
- COM2PictureConverter.cs
- XamlTemplateSerializer.cs
- CqlLexer.cs
- MailMessage.cs