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
- SecurityTokenSerializer.cs
- PropertyTab.cs
- MimeMapping.cs
- ServerIdentity.cs
- EvidenceBase.cs
- XPathEmptyIterator.cs
- UserPreferenceChangingEventArgs.cs
- updateconfighost.cs
- exports.cs
- BasicHttpMessageSecurity.cs
- AssociationSet.cs
- PrinterResolution.cs
- FixedPage.cs
- DataGridViewColumnCollection.cs
- SafeWaitHandle.cs
- contentDescriptor.cs
- BooleanAnimationUsingKeyFrames.cs
- UserControl.cs
- ListSortDescriptionCollection.cs
- PictureBox.cs
- MultiViewDesigner.cs
- DataColumnMappingCollection.cs
- MenuRendererClassic.cs
- ArglessEventHandlerProxy.cs
- NavigationPropertyEmitter.cs
- RuleRefElement.cs
- RelationshipConverter.cs
- CustomErrorsSectionWrapper.cs
- MemoryStream.cs
- TextChange.cs
- WebPermission.cs
- HtmlForm.cs
- MergePropertyDescriptor.cs
- DispatcherSynchronizationContext.cs
- CollectionViewGroupInternal.cs
- BufferedWebEventProvider.cs
- _HelperAsyncResults.cs
- SystemInfo.cs
- TableStyle.cs
- Operators.cs
- TabControl.cs
- NamespaceImport.cs
- ValidationRule.cs
- MasterPageCodeDomTreeGenerator.cs
- HwndProxyElementProvider.cs
- XmlSchemaInfo.cs
- WindowsAuthenticationModule.cs
- DataGridViewIntLinkedList.cs
- CompiledAction.cs
- DocumentPaginator.cs
- BuildProvider.cs
- DefaultValueTypeConverter.cs
- ImpersonationContext.cs
- XmlAtomicValue.cs
- ValueUnavailableException.cs
- WindowsSolidBrush.cs
- HMACSHA1.cs
- DoubleStorage.cs
- COM2PropertyDescriptor.cs
- XPathNodeHelper.cs
- HtmlInputSubmit.cs
- XPathNode.cs
- IssuedTokenClientBehaviorsElement.cs
- SafeNativeHandle.cs
- WebRequest.cs
- BindingGroup.cs
- RTLAwareMessageBox.cs
- RegisteredArrayDeclaration.cs
- hwndwrapper.cs
- ReadOnlyTernaryTree.cs
- TripleDES.cs
- ColorInterpolationModeValidation.cs
- CryptographicAttribute.cs
- XmlQueryOutput.cs
- DispatcherExceptionEventArgs.cs
- ProcessRequestArgs.cs
- DynamicMethod.cs
- BasicHttpMessageSecurity.cs
- MSAAEventDispatcher.cs
- NativeMethodsOther.cs
- GeometryDrawing.cs
- XmlSchemaCollection.cs
- RepeaterItem.cs
- WriteTimeStream.cs
- ResXResourceReader.cs
- XmlAttributeOverrides.cs
- ShimAsPublicXamlType.cs
- DependencyObjectProvider.cs
- PrintControllerWithStatusDialog.cs
- TextTreeFixupNode.cs
- CngUIPolicy.cs
- WindowProviderWrapper.cs
- CompositeControl.cs
- SerialReceived.cs
- DataBindingHandlerAttribute.cs
- shaperfactoryquerycacheentry.cs
- CompilerErrorCollection.cs
- InheritedPropertyChangedEventArgs.cs
- SHA384.cs
- DBConnectionString.cs