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
- InstanceOwnerQueryResult.cs
- QueryMatcher.cs
- WorkerRequest.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DoubleCollectionConverter.cs
- DecoderFallbackWithFailureFlag.cs
- HelloMessageCD1.cs
- DependencyObject.cs
- FileDialog_Vista_Interop.cs
- FormViewDeleteEventArgs.cs
- SyncMethodInvoker.cs
- ConfigurationStrings.cs
- TypedTableBase.cs
- X509KeyIdentifierClauseType.cs
- StringUtil.cs
- Authorization.cs
- ActiveXHost.cs
- SQLInt16.cs
- TypeElement.cs
- StickyNote.cs
- DataServiceResponse.cs
- COM2IProvidePropertyBuilderHandler.cs
- SystemKeyConverter.cs
- Geometry3D.cs
- UnmanagedMemoryStream.cs
- RequestQueue.cs
- CodeGeneratorOptions.cs
- SerializationInfo.cs
- CapabilitiesState.cs
- ScrollBarAutomationPeer.cs
- InvalidProgramException.cs
- OutputCacheProfileCollection.cs
- Int64Animation.cs
- SrgsRuleRef.cs
- DbDataReader.cs
- GridViewCancelEditEventArgs.cs
- EntitySetRetriever.cs
- SoapAttributes.cs
- ProgressChangedEventArgs.cs
- SimpleType.cs
- FormClosedEvent.cs
- HtmlTableCell.cs
- TemplatedMailWebEventProvider.cs
- AQNBuilder.cs
- Interlocked.cs
- SqlResolver.cs
- OverlappedAsyncResult.cs
- AuthenticationService.cs
- Convert.cs
- SiteMapProvider.cs
- OperationCanceledException.cs
- ConfigurationSectionGroup.cs
- Compiler.cs
- MaterializeFromAtom.cs
- EraserBehavior.cs
- FigureParaClient.cs
- CommandManager.cs
- DummyDataSource.cs
- ProviderMetadata.cs
- CalculatedColumn.cs
- LineServicesRun.cs
- XpsFilter.cs
- ComUdtElementCollection.cs
- PtsPage.cs
- DesignerMetadata.cs
- ServiceDescriptionData.cs
- basemetadatamappingvisitor.cs
- Trace.cs
- Int16Converter.cs
- StoryFragments.cs
- ResourceDescriptionAttribute.cs
- EncodingInfo.cs
- CacheChildrenQuery.cs
- documentsequencetextview.cs
- BindingExpressionUncommonField.cs
- ArraySubsetEnumerator.cs
- Vector3DAnimationBase.cs
- UnsafeNativeMethods.cs
- ButtonStandardAdapter.cs
- WindowsRichEdit.cs
- XPathSelfQuery.cs
- DataServiceRequestOfT.cs
- SplashScreenNativeMethods.cs
- FacetChecker.cs
- ExpressionVisitorHelpers.cs
- followingsibling.cs
- XmlBindingWorker.cs
- RangeBase.cs
- CompilerTypeWithParams.cs
- Group.cs
- SoapCodeExporter.cs
- PreProcessInputEventArgs.cs
- OLEDB_Util.cs
- ClientOperationFormatterProvider.cs
- DictionaryEntry.cs
- ResourceSet.cs
- XmlRootAttribute.cs
- ToggleProviderWrapper.cs
- ComponentManagerBroker.cs
- LineMetrics.cs