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
- TextPenaltyModule.cs
- CharKeyFrameCollection.cs
- CodeCompiler.cs
- CompilerWrapper.cs
- XmlElementAttribute.cs
- SupportingTokenDuplexChannel.cs
- BufferBuilder.cs
- AxWrapperGen.cs
- FontCollection.cs
- _AutoWebProxyScriptWrapper.cs
- SmiEventSink.cs
- FilterEventArgs.cs
- PageSettings.cs
- DateTimeSerializationSection.cs
- TextBlockAutomationPeer.cs
- SetIterators.cs
- DesignerSerializationVisibilityAttribute.cs
- XmlHierarchicalDataSourceView.cs
- ManipulationStartingEventArgs.cs
- EditorOptionAttribute.cs
- FileDataSourceCache.cs
- PaginationProgressEventArgs.cs
- EnumerableValidator.cs
- WinEventQueueItem.cs
- Margins.cs
- FormViewCommandEventArgs.cs
- sqlnorm.cs
- ModelVisual3D.cs
- CapabilitiesAssignment.cs
- ArithmeticException.cs
- NgenServicingAttributes.cs
- SafeNativeMethods.cs
- MemoryPressure.cs
- FrameworkContentElement.cs
- ServiceDiscoveryBehavior.cs
- ItemChangedEventArgs.cs
- ProxyWebPartManager.cs
- SymbolPair.cs
- XmlDataSourceNodeDescriptor.cs
- TextParaLineResult.cs
- XamlFigureLengthSerializer.cs
- GridViewColumnCollectionChangedEventArgs.cs
- LinqDataSourceUpdateEventArgs.cs
- DockPatternIdentifiers.cs
- XmlWhitespace.cs
- ExpandoObject.cs
- XamlFilter.cs
- XmlReflectionMember.cs
- DbReferenceCollection.cs
- UpdatePanelControlTrigger.cs
- DropShadowBitmapEffect.cs
- CompareInfo.cs
- ResXFileRef.cs
- DataSourceCache.cs
- GraphicsState.cs
- SHA384.cs
- SelectionItemPattern.cs
- CustomBindingElement.cs
- PageEventArgs.cs
- XPathScanner.cs
- SafeEventHandle.cs
- SchemaMapping.cs
- SelectionPatternIdentifiers.cs
- HtmlInputPassword.cs
- RowToParametersTransformer.cs
- CqlLexer.cs
- BuildProvider.cs
- ServiceContractDetailViewControl.cs
- UTF7Encoding.cs
- UnsafeCollabNativeMethods.cs
- Pair.cs
- DragCompletedEventArgs.cs
- ServiceHandle.cs
- VariableAction.cs
- AxisAngleRotation3D.cs
- MatrixTransform3D.cs
- CollectionConverter.cs
- QuaternionAnimation.cs
- SID.cs
- ellipse.cs
- Lookup.cs
- Journaling.cs
- errorpatternmatcher.cs
- DataGridBoolColumn.cs
- SafeFileMappingHandle.cs
- Monitor.cs
- StaticSiteMapProvider.cs
- XmlAttributeProperties.cs
- TreeNodeBindingCollection.cs
- ContainerUtilities.cs
- ActivityXRefPropertyEditor.cs
- XmlQualifiedName.cs
- ArgumentValue.cs
- GroupQuery.cs
- DynamicMethod.cs
- CompilationLock.cs
- _UriSyntax.cs
- FixedTextView.cs
- SafeFileMappingHandle.cs
- SimpleTextLine.cs