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
- CodeNamespaceCollection.cs
- OleDbCommand.cs
- NavigationHelper.cs
- _DigestClient.cs
- XmlAttributeOverrides.cs
- SiteMapHierarchicalDataSourceView.cs
- X509Certificate2Collection.cs
- DrawingContextDrawingContextWalker.cs
- SingleTagSectionHandler.cs
- PropertyGridEditorPart.cs
- Select.cs
- InputMethodStateChangeEventArgs.cs
- TagMapCollection.cs
- XmlTypeMapping.cs
- SQLMoney.cs
- ExtendedProtectionPolicyElement.cs
- ListBindableAttribute.cs
- BitmapEffectInput.cs
- SqlCacheDependencySection.cs
- RegexWorker.cs
- Token.cs
- ArithmeticException.cs
- DataMemberListEditor.cs
- DecimalConverter.cs
- DiffuseMaterial.cs
- HtmlTableCell.cs
- SqlErrorCollection.cs
- QueryCacheManager.cs
- ArraySortHelper.cs
- BrowserInteropHelper.cs
- VectorAnimationBase.cs
- CancellationTokenSource.cs
- HttpProfileGroupBase.cs
- XPathParser.cs
- PrintingPermission.cs
- CalendarDayButton.cs
- DataColumn.cs
- ValidationPropertyAttribute.cs
- NativeMethodsOther.cs
- DocumentApplication.cs
- MenuScrollingVisibilityConverter.cs
- _SslSessionsCache.cs
- KernelTypeValidation.cs
- Point3DCollection.cs
- HtmlInputControl.cs
- TextWriter.cs
- TableRowCollection.cs
- WorkflowQueueInfo.cs
- CodeVariableReferenceExpression.cs
- DbExpressionBuilder.cs
- InstanceDataCollection.cs
- LOSFormatter.cs
- DependencyObjectPropertyDescriptor.cs
- SerTrace.cs
- SqlCharStream.cs
- FixedSOMLineRanges.cs
- EnterpriseServicesHelper.cs
- InheritedPropertyDescriptor.cs
- GeneralTransform3DTo2D.cs
- RootBrowserWindow.cs
- WebPartAuthorizationEventArgs.cs
- returneventsaver.cs
- Control.cs
- TreeNodeEventArgs.cs
- CompositeScriptReference.cs
- PublishLicense.cs
- DataServiceClientException.cs
- IntegerValidator.cs
- ConfigurationStrings.cs
- FormattedTextSymbols.cs
- WebPartMinimizeVerb.cs
- XmlTextReaderImplHelpers.cs
- Site.cs
- ValidatingReaderNodeData.cs
- userdatakeys.cs
- Table.cs
- MarshalByValueComponent.cs
- Perspective.cs
- KnownTypesProvider.cs
- HighlightComponent.cs
- EntityDataSourceViewSchema.cs
- XPathNodeHelper.cs
- Misc.cs
- ProgressPage.cs
- TdsParserSafeHandles.cs
- XmlElementElement.cs
- SizeKeyFrameCollection.cs
- SevenBitStream.cs
- SingleAnimation.cs
- LeftCellWrapper.cs
- KeyValueSerializer.cs
- TypographyProperties.cs
- GridViewSortEventArgs.cs
- NativeMethods.cs
- XmlRootAttribute.cs
- ObservableCollection.cs
- WithStatement.cs
- ResourceSet.cs
- WSDualHttpBindingElement.cs
- SqlMethods.cs