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
- PKCS1MaskGenerationMethod.cs
- TableCell.cs
- GreenMethods.cs
- SQLInt16Storage.cs
- ProcessModelInfo.cs
- WindowsFormsHelpers.cs
- EntityDataSource.cs
- ConnectionPoint.cs
- BrowserTree.cs
- MemberDomainMap.cs
- RuntimeConfigurationRecord.cs
- InheritanceRules.cs
- FSWPathEditor.cs
- ConfigXmlCDataSection.cs
- ColorDialog.cs
- ConfigXmlElement.cs
- MessageCredentialType.cs
- COM2ExtendedUITypeEditor.cs
- ClientConfigurationSystem.cs
- SdlChannelSink.cs
- AmbientValueAttribute.cs
- RepeatButton.cs
- XmlSchemaAttribute.cs
- XmlDocumentFieldSchema.cs
- DeviceSpecific.cs
- ExtensionFile.cs
- RNGCryptoServiceProvider.cs
- _ProxyRegBlob.cs
- Decoder.cs
- SortDescriptionCollection.cs
- TableAdapterManagerHelper.cs
- SiteMap.cs
- WindowsFormsSynchronizationContext.cs
- TaskFormBase.cs
- ICspAsymmetricAlgorithm.cs
- CroppedBitmap.cs
- InkCanvas.cs
- BasicViewGenerator.cs
- TextRangeBase.cs
- StrokeRenderer.cs
- HwndSourceKeyboardInputSite.cs
- ExpressionBuilder.cs
- PointConverter.cs
- DbConnectionOptions.cs
- Error.cs
- DefaultSerializationProviderAttribute.cs
- XmlLanguage.cs
- QueryRewriter.cs
- EventLogEntry.cs
- ButtonBaseAutomationPeer.cs
- SoundPlayer.cs
- SapiInterop.cs
- AppSettingsExpressionBuilder.cs
- SplineKeyFrames.cs
- Tuple.cs
- FactoryMaker.cs
- ProfessionalColors.cs
- SimpleParser.cs
- NeutralResourcesLanguageAttribute.cs
- GenericPrincipal.cs
- ParameterCollection.cs
- UpdateExpressionVisitor.cs
- SinglePhaseEnlistment.cs
- PropertyOrder.cs
- XamlStackWriter.cs
- SplineKeyFrames.cs
- ToolStripButton.cs
- NativeRecognizer.cs
- DelimitedListTraceListener.cs
- ChannelServices.cs
- DirectoryGroupQuery.cs
- PropertyMappingExceptionEventArgs.cs
- ValidationSummary.cs
- TemplateNameScope.cs
- DataGridViewAutoSizeModeEventArgs.cs
- FormViewUpdateEventArgs.cs
- PageVisual.cs
- MarshalByValueComponent.cs
- CacheChildrenQuery.cs
- ModelChangedEventArgsImpl.cs
- AppModelKnownContentFactory.cs
- MethodBuilder.cs
- XpsInterleavingPolicy.cs
- MessageCredentialType.cs
- QualifiedCellIdBoolean.cs
- ProgressPage.cs
- WebDescriptionAttribute.cs
- ConfigurationStrings.cs
- TemplateField.cs
- TextServicesPropertyRanges.cs
- TableLayoutCellPaintEventArgs.cs
- EntityClientCacheKey.cs
- UTF8Encoding.cs
- Base64Encoder.cs
- GeneralTransformGroup.cs
- NavigationWindow.cs
- ToolStripItemRenderEventArgs.cs
- NamedPipeAppDomainProtocolHandler.cs
- RolePrincipal.cs
- LineSegment.cs