Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or /// sets the document that is gaining activation. /// ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- ActiveXSite.cs
- HtmlInputRadioButton.cs
- AuthenticationService.cs
- DecimalConstantAttribute.cs
- BitmapSizeOptions.cs
- XmlSchemaAttributeGroup.cs
- EnterpriseServicesHelper.cs
- SiteIdentityPermission.cs
- MimeBasePart.cs
- ListManagerBindingsCollection.cs
- DataTemplateKey.cs
- ToolTipService.cs
- FormViewDesigner.cs
- Rectangle.cs
- BufferedOutputStream.cs
- MouseActionValueSerializer.cs
- EventLogPermissionHolder.cs
- TimelineGroup.cs
- Wizard.cs
- BulletedListDesigner.cs
- ProcessHostFactoryHelper.cs
- LambdaExpression.cs
- GridViewEditEventArgs.cs
- AtomServiceDocumentSerializer.cs
- MoveSizeWinEventHandler.cs
- Decimal.cs
- ObjectDataSourceChooseTypePanel.cs
- XmlRootAttribute.cs
- ClientSideQueueItem.cs
- SparseMemoryStream.cs
- URL.cs
- RelatedPropertyManager.cs
- ProcessThreadCollection.cs
- CodeSnippetStatement.cs
- Assert.cs
- NamespaceCollection.cs
- ToolBarPanel.cs
- PerformanceCounterPermissionAttribute.cs
- GuidelineSet.cs
- FontStretches.cs
- MetafileHeader.cs
- SHA1Managed.cs
- CacheVirtualItemsEvent.cs
- Expression.cs
- RegexGroupCollection.cs
- Converter.cs
- BamlRecordReader.cs
- GenericEnumerator.cs
- Debugger.cs
- DataGridViewColumnCollection.cs
- RootBrowserWindowAutomationPeer.cs
- FormatConvertedBitmap.cs
- dsa.cs
- ExtenderProvidedPropertyAttribute.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- MultilineStringConverter.cs
- ListItem.cs
- DesignerAutoFormatStyle.cs
- WindowsAltTab.cs
- GridSplitter.cs
- AdRotator.cs
- BinaryExpressionHelper.cs
- XPathQilFactory.cs
- CultureMapper.cs
- Compiler.cs
- LayoutInformation.cs
- EventsTab.cs
- Rect.cs
- JournalEntry.cs
- ListSurrogate.cs
- TableItemStyle.cs
- AppSettingsExpressionEditor.cs
- SoapMessage.cs
- ProfileInfo.cs
- ReceiveParametersContent.cs
- CacheAxisQuery.cs
- DataColumnCollection.cs
- NumberFormatInfo.cs
- ScriptHandlerFactory.cs
- GestureRecognitionResult.cs
- VisualStyleInformation.cs
- RuleSet.cs
- WinCategoryAttribute.cs
- MDIClient.cs
- CachedFontFace.cs
- HiddenField.cs
- DataServiceRequestException.cs
- OracleTransaction.cs
- CompilerError.cs
- ExponentialEase.cs
- XMLSyntaxException.cs
- OleDbParameterCollection.cs
- FrameworkObject.cs
- ActivationArguments.cs
- TextServicesManager.cs
- UserInitiatedNavigationPermission.cs
- OciHandle.cs
- AssertSection.cs
- ZipIOLocalFileBlock.cs
- MeasureData.cs