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
- SymbolType.cs
- BaseValidatorDesigner.cs
- UIHelper.cs
- ClientRoleProvider.cs
- TextFragmentEngine.cs
- OracleInfoMessageEventArgs.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- EmptyElement.cs
- SerialErrors.cs
- DirectoryRootQuery.cs
- DataGridViewTextBoxEditingControl.cs
- Keyboard.cs
- ProviderMetadata.cs
- ProcessRequestArgs.cs
- Documentation.cs
- PromptEventArgs.cs
- SessionSwitchEventArgs.cs
- CustomGrammar.cs
- pingexception.cs
- MsmqIntegrationProcessProtocolHandler.cs
- HtmlInputSubmit.cs
- ListBoxAutomationPeer.cs
- SkewTransform.cs
- NameSpaceExtractor.cs
- QueryGeneratorBase.cs
- InvalidStoreProtectionKeyException.cs
- DataTemplateKey.cs
- MaterialGroup.cs
- Wizard.cs
- XamlFrame.cs
- ReadOnlyCollection.cs
- TemplatedMailWebEventProvider.cs
- ReferencedType.cs
- DatePickerAutomationPeer.cs
- GenericParameterDataContract.cs
- SchemaElementLookUpTable.cs
- CommentAction.cs
- HostedTcpTransportManager.cs
- XXXOnTypeBuilderInstantiation.cs
- ToolBar.cs
- ModelPropertyDescriptor.cs
- ProjectionQueryOptionExpression.cs
- WebPartEditorApplyVerb.cs
- SimpleTextLine.cs
- ServiceDescriptionContext.cs
- XamlSerializerUtil.cs
- TextCollapsingProperties.cs
- MimeMapping.cs
- HMACSHA1.cs
- AncillaryOps.cs
- ExpressionBinding.cs
- StringBuilder.cs
- CustomError.cs
- NavigateUrlConverter.cs
- SqlDataSourceCache.cs
- StrongNameKeyPair.cs
- Propagator.cs
- CollectionConverter.cs
- TextEncodedRawTextWriter.cs
- BeginStoryboard.cs
- ReverseInheritProperty.cs
- LogFlushAsyncResult.cs
- FontUnitConverter.cs
- FindRequestContext.cs
- MatrixAnimationUsingPath.cs
- Brush.cs
- SectionUpdates.cs
- UnsafeNativeMethods.cs
- BooleanFacetDescriptionElement.cs
- Msec.cs
- FixedElement.cs
- FlowLayoutPanel.cs
- CodeDomComponentSerializationService.cs
- _NestedMultipleAsyncResult.cs
- XmlMtomReader.cs
- GridViewRowCollection.cs
- CellParaClient.cs
- SiteMapNodeCollection.cs
- ContentIterators.cs
- KeyEvent.cs
- KnownBoxes.cs
- TextRenderer.cs
- AttributeXamlType.cs
- CachingParameterInspector.cs
- WindowsGrip.cs
- DispatchChannelSink.cs
- DateRangeEvent.cs
- Vector3DIndependentAnimationStorage.cs
- TextElementCollectionHelper.cs
- PageParser.cs
- RadioButton.cs
- ListBoxItem.cs
- BaseTemplateBuildProvider.cs
- TouchesOverProperty.cs
- StringUtil.cs
- DataControlFieldHeaderCell.cs
- TransformConverter.cs
- AuthenticationSection.cs
- URLIdentityPermission.cs
- XmlAttribute.cs