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
- GroupedContextMenuStrip.cs
- EdmComplexTypeAttribute.cs
- Rijndael.cs
- ClientSettingsStore.cs
- TableAdapterManagerMethodGenerator.cs
- DetailsViewDeleteEventArgs.cs
- Sql8ExpressionRewriter.cs
- GeometryConverter.cs
- SubpageParagraph.cs
- ListenerSessionConnectionReader.cs
- WebUtil.cs
- FormsAuthenticationConfiguration.cs
- Atom10FormatterFactory.cs
- StrokeIntersection.cs
- XXXOnTypeBuilderInstantiation.cs
- UndirectedGraph.cs
- TableLayout.cs
- NumericUpDownAcceleration.cs
- SoapServerProtocol.cs
- RadialGradientBrush.cs
- MaskPropertyEditor.cs
- DbConnectionClosed.cs
- XmlSerializationGeneratedCode.cs
- ApplicationFileCodeDomTreeGenerator.cs
- HttpApplicationFactory.cs
- securitycriticaldata.cs
- DbXmlEnabledProviderManifest.cs
- GradientStopCollection.cs
- MobileControlsSection.cs
- Debug.cs
- DirectionalLight.cs
- GenerateHelper.cs
- TextEffectResolver.cs
- TransactionScope.cs
- SmtpTransport.cs
- ModelUIElement3D.cs
- XmlNavigatorFilter.cs
- TreeViewHitTestInfo.cs
- WinFormsSecurity.cs
- Converter.cs
- DesignerActionList.cs
- UrlAuthFailedErrorFormatter.cs
- AttachInfo.cs
- RtfToXamlReader.cs
- XmlDataSourceNodeDescriptor.cs
- DES.cs
- ItemsControl.cs
- StatusStrip.cs
- DelegatingTypeDescriptionProvider.cs
- SqlException.cs
- TextFormatterHost.cs
- Propagator.JoinPropagator.cs
- storepermissionattribute.cs
- DateTimeOffsetStorage.cs
- CallbackValidator.cs
- UnknownExceptionActionHelper.cs
- TreeViewAutomationPeer.cs
- CallSiteBinder.cs
- InternalsVisibleToAttribute.cs
- SoapSchemaExporter.cs
- _CacheStreams.cs
- ShapeTypeface.cs
- ColumnPropertiesGroup.cs
- TextElementEnumerator.cs
- CalendarButtonAutomationPeer.cs
- ByteViewer.cs
- SystemTcpStatistics.cs
- RegisteredExpandoAttribute.cs
- XPathParser.cs
- CompareInfo.cs
- Win32PrintDialog.cs
- panel.cs
- TreeNodeEventArgs.cs
- WebPartVerbCollection.cs
- Attribute.cs
- FunctionImportElement.cs
- SmtpReplyReader.cs
- AutomationPropertyInfo.cs
- StylusButtonCollection.cs
- MsmqInputMessagePool.cs
- ManagementOptions.cs
- ViewCellRelation.cs
- OdbcCommand.cs
- ConfigurationPropertyCollection.cs
- EntityChangedParams.cs
- DefaultMemberAttribute.cs
- TraceContextRecord.cs
- Trace.cs
- Mouse.cs
- PerformanceCountersElement.cs
- SuppressIldasmAttribute.cs
- Int64AnimationUsingKeyFrames.cs
- TypeToArgumentTypeConverter.cs
- DisplayNameAttribute.cs
- MatrixCamera.cs
- BitHelper.cs
- CompilerTypeWithParams.cs
- GroupQuery.cs
- SelectedGridItemChangedEvent.cs
- NaturalLanguageHyphenator.cs