Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1 / ActiveDocumentEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; using Microsoft.Win32; ////// [HostProtection(SharedState = true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ActiveDesignerEventArgs : EventArgs { ///Provides data for the ////// event. /// The document that is losing activation. /// private readonly IDesignerHost oldDesigner; ////// The document that is gaining activation. /// private readonly IDesignerHost newDesigner; ////// public ActiveDesignerEventArgs(IDesignerHost oldDesigner, IDesignerHost newDesigner) { this.oldDesigner = oldDesigner; this.newDesigner = newDesigner; } ///Initializes a new instance of the ////// class. /// public IDesignerHost OldDesigner { get { return oldDesigner; } } ////// Gets or /// sets the document that is losing activation. /// ////// public IDesignerHost NewDesigner { get { return newDesigner; } } } }/// Gets or /// sets the document that is gaining activation. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MailMessageEventArgs.cs
- TimeoutTimer.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- ColumnWidthChangingEvent.cs
- XmlSchemaParticle.cs
- OdbcEnvironment.cs
- EncoderNLS.cs
- ProfileParameter.cs
- BindingCollection.cs
- ErrorHandler.cs
- ExpressionPrefixAttribute.cs
- CustomExpressionEventArgs.cs
- HtmlLabelAdapter.cs
- DbParameterCollection.cs
- ServerProtocol.cs
- WindowsHyperlink.cs
- Registry.cs
- QilFunction.cs
- SystemTcpStatistics.cs
- NativeMethods.cs
- Compiler.cs
- View.cs
- ObjectDataSourceStatusEventArgs.cs
- SqlDependencyUtils.cs
- DataObject.cs
- RowUpdatingEventArgs.cs
- RowTypeElement.cs
- ButtonChrome.cs
- MimeMultiPart.cs
- ParenthesizePropertyNameAttribute.cs
- WizardPanel.cs
- TextFormatterImp.cs
- BatchServiceHost.cs
- contentDescriptor.cs
- AuthenticatedStream.cs
- WebZone.cs
- FamilyTypefaceCollection.cs
- OdbcCommandBuilder.cs
- FolderBrowserDialogDesigner.cs
- XmlHierarchicalEnumerable.cs
- TextTreeObjectNode.cs
- CreationContext.cs
- Listbox.cs
- UnsafeNativeMethods.cs
- WebControlParameterProxy.cs
- CornerRadiusConverter.cs
- AccessText.cs
- FileAuthorizationModule.cs
- XamlFilter.cs
- ScrollChangedEventArgs.cs
- ColumnResizeAdorner.cs
- FamilyCollection.cs
- ProcessInfo.cs
- DataBindingCollection.cs
- SoapFault.cs
- CodeGeneratorOptions.cs
- ColorTranslator.cs
- Rfc4050KeyFormatter.cs
- _AutoWebProxyScriptHelper.cs
- OdbcConnectionPoolProviderInfo.cs
- BasicExpressionVisitor.cs
- DefinitionBase.cs
- Filter.cs
- _ScatterGatherBuffers.cs
- UserValidatedEventArgs.cs
- DataKeyPropertyAttribute.cs
- NavigationExpr.cs
- WebControlParameterProxy.cs
- ExecutedRoutedEventArgs.cs
- ClientSettingsSection.cs
- AuthenticationConfig.cs
- WebConvert.cs
- IndexOutOfRangeException.cs
- Int16Storage.cs
- EntityClientCacheKey.cs
- Clipboard.cs
- DateTimeStorage.cs
- HMACSHA512.cs
- ValidationResult.cs
- HttpPostedFileBase.cs
- PropertyAccessVisitor.cs
- Int32AnimationUsingKeyFrames.cs
- TracingConnection.cs
- ManualWorkflowSchedulerService.cs
- AppDomainProtocolHandler.cs
- DrawingBrush.cs
- MonthCalendarDesigner.cs
- StringDictionary.cs
- DataControlCommands.cs
- CursorEditor.cs
- ToolStripSeparator.cs
- TypeDependencyAttribute.cs
- PersonalizationState.cs
- ControlUtil.cs
- DayRenderEvent.cs
- WebBrowsableAttribute.cs
- graph.cs
- TypeFieldSchema.cs
- HtmlFormAdapter.cs
- ConfigurationValues.cs