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
- OracleConnection.cs
- Executor.cs
- ObjectItemCollection.cs
- PlatformNotSupportedException.cs
- ReferenceConverter.cs
- _TransmitFileOverlappedAsyncResult.cs
- DllNotFoundException.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- SQLInt32Storage.cs
- StateDesigner.Layouts.cs
- ImageClickEventArgs.cs
- NativeMethods.cs
- FixUp.cs
- RectKeyFrameCollection.cs
- OpCellTreeNode.cs
- comcontractssection.cs
- SessionIDManager.cs
- RequestCache.cs
- UserControlDocumentDesigner.cs
- ValidationRule.cs
- ContentFilePart.cs
- DbDataAdapter.cs
- ResolveResponse.cs
- ImmutablePropertyDescriptorGridEntry.cs
- ListViewInsertedEventArgs.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- IPGlobalProperties.cs
- DesignTimeVisibleAttribute.cs
- Transform3DCollection.cs
- PropertyFilterAttribute.cs
- SmtpAuthenticationManager.cs
- WebConvert.cs
- WinOEToolBoxItem.cs
- ErrorTableItemStyle.cs
- DynamicDataExtensions.cs
- Normalization.cs
- SolidColorBrush.cs
- DynamicRenderer.cs
- StringUtil.cs
- TextRunProperties.cs
- PeerUnsafeNativeCryptMethods.cs
- FixedElement.cs
- GridViewDeletedEventArgs.cs
- ReadOnlyObservableCollection.cs
- NamedPipeChannelListener.cs
- SecurityCriticalDataForSet.cs
- WebPartConnectionsEventArgs.cs
- TreeNodeMouseHoverEvent.cs
- DynamicPropertyHolder.cs
- TextCompositionManager.cs
- UIAgentAsyncEndRequest.cs
- SerializationHelper.cs
- EntityViewContainer.cs
- OutOfProcStateClientManager.cs
- Currency.cs
- Polygon.cs
- DecimalFormatter.cs
- TTSEvent.cs
- X509CertificateCollection.cs
- TextSelectionProcessor.cs
- MimeMultiPart.cs
- SettingsSection.cs
- ImageIndexConverter.cs
- SerializationFieldInfo.cs
- FieldNameLookup.cs
- ping.cs
- Debug.cs
- AnimationClock.cs
- EncodingInfo.cs
- UserNameSecurityTokenParameters.cs
- SourceChangedEventArgs.cs
- precedingsibling.cs
- TemplateKeyConverter.cs
- CodeObject.cs
- ImageMetadata.cs
- XmlAttributeAttribute.cs
- SQLMoney.cs
- BinaryObjectInfo.cs
- WebRequest.cs
- CrossSiteScriptingValidation.cs
- Queue.cs
- Control.cs
- DataServiceContext.cs
- SelectionProviderWrapper.cs
- Deserializer.cs
- XmlReader.cs
- ColumnReorderedEventArgs.cs
- BaseDataBoundControlDesigner.cs
- DataGridItemAutomationPeer.cs
- GACMembershipCondition.cs
- HttpDebugHandler.cs
- UIServiceHelper.cs
- IsolatedStorage.cs
- Label.cs
- PublisherMembershipCondition.cs
- SizeAnimationUsingKeyFrames.cs
- SdlChannelSink.cs
- XmlArrayItemAttributes.cs
- XmlAttributeCollection.cs
- SoapExtensionTypeElement.cs