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
- CachedTypeface.cs
- ScriptServiceAttribute.cs
- OraclePermission.cs
- URI.cs
- Parsers.cs
- mactripleDES.cs
- HttpProcessUtility.cs
- SynchronousReceiveBehavior.cs
- WebBrowserUriTypeConverter.cs
- AppSecurityManager.cs
- ServiceDiscoveryBehavior.cs
- UnionExpr.cs
- PerformanceCountersBase.cs
- PlaceHolder.cs
- GenericsNotImplementedException.cs
- XmlAttributeAttribute.cs
- AnimationTimeline.cs
- JournalEntry.cs
- EventMappingSettings.cs
- HScrollBar.cs
- ConfigurationElementCollection.cs
- CollectionConverter.cs
- QueryStringHandler.cs
- DrawingCollection.cs
- StyleConverter.cs
- SettingsBindableAttribute.cs
- DiagnosticTraceRecords.cs
- ToolStripProgressBar.cs
- MetafileHeaderEmf.cs
- MessageBox.cs
- TabItem.cs
- OleDbSchemaGuid.cs
- FormatterConverter.cs
- InstanceKeyCompleteException.cs
- ControlEvent.cs
- BorderGapMaskConverter.cs
- SqlConnectionPoolProviderInfo.cs
- MainMenu.cs
- XmlSchemaAnnotation.cs
- UshortList2.cs
- Win32.cs
- TextRenderer.cs
- LongCountAggregationOperator.cs
- RbTree.cs
- SeekStoryboard.cs
- ElapsedEventArgs.cs
- CompareInfo.cs
- Evidence.cs
- MouseDevice.cs
- PingReply.cs
- GorillaCodec.cs
- ICspAsymmetricAlgorithm.cs
- RenderingEventArgs.cs
- DateTimeOffsetAdapter.cs
- MD5.cs
- ControlBindingsCollection.cs
- XmlNodeComparer.cs
- ConcurrentQueue.cs
- XmlAttributeCache.cs
- EntityDataSourceValidationException.cs
- Geometry3D.cs
- StringCollection.cs
- ProviderCollection.cs
- BlurBitmapEffect.cs
- TemplateControlParser.cs
- CreateRefExpr.cs
- Slider.cs
- RichTextBoxConstants.cs
- RolePrincipal.cs
- InvalidAsynchronousStateException.cs
- InvokeWebServiceDesigner.cs
- MatrixUtil.cs
- CompiledRegexRunnerFactory.cs
- OutputWindow.cs
- XMLUtil.cs
- WebPartDisplayMode.cs
- AuthenticationService.cs
- ContentFilePart.cs
- RemoteHelper.cs
- DecoderExceptionFallback.cs
- NetTcpSecurityElement.cs
- DataDocumentXPathNavigator.cs
- SQLMoney.cs
- ByteAnimationUsingKeyFrames.cs
- TableRow.cs
- WmlFormAdapter.cs
- HtmlWindowCollection.cs
- SuspendDesigner.cs
- Positioning.cs
- OpenFileDialog.cs
- NavigationHelper.cs
- CatchDesigner.xaml.cs
- CreateUserErrorEventArgs.cs
- Header.cs
- GeometryModel3D.cs
- GridViewAutomationPeer.cs
- EmissiveMaterial.cs
- TdsParserStateObject.cs
- RegexCode.cs
- GeometryHitTestResult.cs