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
- XmlArrayAttribute.cs
- WorkflowMessageEventHandler.cs
- DialogResultConverter.cs
- VScrollProperties.cs
- MarkerProperties.cs
- WebServiceTypeData.cs
- ReaderWriterLockWrapper.cs
- DataGridViewComboBoxColumn.cs
- ByteArrayHelperWithString.cs
- DependencyPropertyKey.cs
- HttpRuntimeSection.cs
- BoolExpr.cs
- BindUriHelper.cs
- FixedTextBuilder.cs
- COM2PropertyBuilderUITypeEditor.cs
- PagesSection.cs
- SHA1.cs
- ReverseComparer.cs
- _AutoWebProxyScriptEngine.cs
- ResourceReferenceExpression.cs
- XmlComment.cs
- ReadOnlyState.cs
- ObjectQueryState.cs
- _PooledStream.cs
- MergePropertyDescriptor.cs
- ControlLocalizer.cs
- Ipv6Element.cs
- TemplateAction.cs
- BitmapEffectvisualstate.cs
- _NTAuthentication.cs
- ListViewGroup.cs
- RoleManagerSection.cs
- HttpTransportElement.cs
- ObjectQuery_EntitySqlExtensions.cs
- EntityClientCacheEntry.cs
- GrammarBuilder.cs
- GifBitmapDecoder.cs
- Pen.cs
- FirstQueryOperator.cs
- DateTimeValueSerializerContext.cs
- ObjectTypeMapping.cs
- AppSecurityManager.cs
- MouseEvent.cs
- StylusOverProperty.cs
- IsolatedStoragePermission.cs
- AnnotationComponentManager.cs
- Rect.cs
- ToolStripMenuItem.cs
- MediaPlayer.cs
- RuntimeConfigurationRecord.cs
- PersonalizationStateQuery.cs
- CatalogZoneBase.cs
- PopupEventArgs.cs
- XamlToRtfParser.cs
- PropertyValidationContext.cs
- XMLUtil.cs
- TextParagraphCache.cs
- DynamicResourceExtensionConverter.cs
- SqlCachedBuffer.cs
- InvalidEnumArgumentException.cs
- ProjectionRewriter.cs
- EncryptedPackage.cs
- EventlogProvider.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- WorkflowElementDialog.cs
- InvalidCommandTreeException.cs
- ItemAutomationPeer.cs
- DataExpression.cs
- HtmlTitle.cs
- UnsafeNativeMethodsTablet.cs
- UnaryOperationBinder.cs
- NavigationPropertyEmitter.cs
- WebBodyFormatMessageProperty.cs
- ContractAdapter.cs
- WindowsTitleBar.cs
- GridProviderWrapper.cs
- WindowsFormsSectionHandler.cs
- DataGridViewComboBoxEditingControl.cs
- ImageIndexEditor.cs
- StoreAnnotationsMap.cs
- TemplateControlParser.cs
- CacheModeValueSerializer.cs
- WindowsToolbar.cs
- Interlocked.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- CommandSet.cs
- WebPartHeaderCloseVerb.cs
- EditorPartChrome.cs
- TypeUtils.cs
- RemotingException.cs
- _NegoStream.cs
- SqlAliaser.cs
- AspNetHostingPermission.cs
- ResourceDictionary.cs
- DelegatedStream.cs
- PropagatorResult.cs
- FontCacheUtil.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ClientSettingsProvider.cs
- ApplicationDirectoryMembershipCondition.cs