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
- ReflectionPermission.cs
- AdornerDecorator.cs
- CodeIndexerExpression.cs
- MatrixValueSerializer.cs
- RegexCaptureCollection.cs
- CardSpaceSelector.cs
- ClientConfigPaths.cs
- WindowsRichEditRange.cs
- DateTimeParse.cs
- _ScatterGatherBuffers.cs
- SocketAddress.cs
- HtmlShimManager.cs
- WebPartTransformer.cs
- TrackingProfileDeserializationException.cs
- WebPartVerbsEventArgs.cs
- Translator.cs
- PrivilegedConfigurationManager.cs
- SystemParameters.cs
- PackageFilter.cs
- designeractionlistschangedeventargs.cs
- ExpressionVisitor.cs
- SqlConnectionFactory.cs
- MimeXmlReflector.cs
- FixedSOMSemanticBox.cs
- SchemaImporterExtension.cs
- DataGridViewCellCollection.cs
- AspNetPartialTrustHelpers.cs
- Attributes.cs
- CompatibleComparer.cs
- DodSequenceMerge.cs
- ApplyTemplatesAction.cs
- PkcsMisc.cs
- PeerNameRecordCollection.cs
- EUCJPEncoding.cs
- RuleSettings.cs
- SoapAttributeOverrides.cs
- DependencyPropertyAttribute.cs
- StaticDataManager.cs
- PageVisual.cs
- DataListCommandEventArgs.cs
- KerberosTicketHashIdentifierClause.cs
- PrintDialog.cs
- DiagnosticTraceSchemas.cs
- ValueUtilsSmi.cs
- ConsumerConnectionPoint.cs
- RecordBuilder.cs
- MetadataUtil.cs
- SingleConverter.cs
- DbException.cs
- WebPartEditorCancelVerb.cs
- WCFServiceClientProxyGenerator.cs
- SamlAuthorizationDecisionClaimResource.cs
- Fx.cs
- NegotiateStream.cs
- Bold.cs
- CacheChildrenQuery.cs
- TypeConverterAttribute.cs
- BasePattern.cs
- PhysicalAddress.cs
- HeaderedItemsControl.cs
- DataDocumentXPathNavigator.cs
- HostedTransportConfigurationManager.cs
- FileVersionInfo.cs
- ComplexPropertyEntry.cs
- QueryOutputWriter.cs
- ReadContentAsBinaryHelper.cs
- ExceptionAggregator.cs
- SystemResourceKey.cs
- WrapPanel.cs
- MouseBinding.cs
- SerializationStore.cs
- DataGridViewCellValidatingEventArgs.cs
- SqlHelper.cs
- LocalizedNameDescriptionPair.cs
- OutputCacheProfileCollection.cs
- PerfCounterSection.cs
- DynamicResourceExtensionConverter.cs
- SQLBytes.cs
- CommandConverter.cs
- EventLogEntry.cs
- HtmlControlAdapter.cs
- DoubleLinkList.cs
- OLEDB_Util.cs
- CorrelationTokenTypeConvertor.cs
- ConfigXmlWhitespace.cs
- XmlSchemaProviderAttribute.cs
- ColorTransform.cs
- HashAlgorithm.cs
- IDictionary.cs
- StatusCommandUI.cs
- JournalEntryStack.cs
- CopyNodeSetAction.cs
- CurrentChangingEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- EntityParameter.cs
- WebConfigurationManager.cs
- SqlCacheDependencyDatabaseCollection.cs
- StyleCollectionEditor.cs
- MemberProjectedSlot.cs
- HeaderElement.cs