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
- DataProtection.cs
- Int64AnimationBase.cs
- HttpWebRequestElement.cs
- ImageFormat.cs
- MethodToken.cs
- PointLight.cs
- DataGridViewRowPostPaintEventArgs.cs
- ImageButton.cs
- ByteStack.cs
- ListView.cs
- SegmentTree.cs
- FormatConvertedBitmap.cs
- BitmapEffect.cs
- Stack.cs
- TraceListener.cs
- RoutedEventArgs.cs
- TemplateControlCodeDomTreeGenerator.cs
- BaseComponentEditor.cs
- CodeIdentifiers.cs
- QuadraticBezierSegment.cs
- GridViewRowPresenterBase.cs
- SimpleTypeResolver.cs
- TextBox.cs
- SoapParser.cs
- DialogBaseForm.cs
- ControlIdConverter.cs
- PropertyChangedEventManager.cs
- XmlSchemaAppInfo.cs
- NeutralResourcesLanguageAttribute.cs
- DataGridViewColumnCollection.cs
- FileRegion.cs
- SafeCryptContextHandle.cs
- AvTraceFormat.cs
- SqlDataSourceAdvancedOptionsForm.cs
- DocumentGridContextMenu.cs
- SoapProcessingBehavior.cs
- LinearGradientBrush.cs
- XmlNamedNodeMap.cs
- LicFileLicenseProvider.cs
- HelpInfo.cs
- ExceptionWrapper.cs
- AffineTransform3D.cs
- PolygonHotSpot.cs
- AesCryptoServiceProvider.cs
- IssuedTokenServiceCredential.cs
- BitmapFrame.cs
- ListQueryResults.cs
- HelpFileFileNameEditor.cs
- CatchBlock.cs
- CodeIdentifiers.cs
- Light.cs
- Number.cs
- MemoryStream.cs
- SqlSelectStatement.cs
- HandleCollector.cs
- WindowsFormsHostPropertyMap.cs
- ReliableOutputSessionChannel.cs
- SHA512CryptoServiceProvider.cs
- SmiContextFactory.cs
- DeflateInput.cs
- WebDescriptionAttribute.cs
- WpfKnownTypeInvoker.cs
- XPathNavigator.cs
- OleDbException.cs
- Dynamic.cs
- ToolStripEditorManager.cs
- EntityDataSourceDesigner.cs
- Directory.cs
- ComboBoxItem.cs
- CheckPair.cs
- DateTime.cs
- FileRecordSequence.cs
- ColumnHeader.cs
- PriorityChain.cs
- StringPropertyBuilder.cs
- ItemAutomationPeer.cs
- Listen.cs
- TraceListener.cs
- DocumentAutomationPeer.cs
- ReleaseInstanceMode.cs
- StartUpEventArgs.cs
- ETagAttribute.cs
- Itemizer.cs
- NullableIntMinMaxAggregationOperator.cs
- RIPEMD160.cs
- HtmlControlPersistable.cs
- MediaEntryAttribute.cs
- _NTAuthentication.cs
- ToolZone.cs
- SerializerWriterEventHandlers.cs
- AutomationPatternInfo.cs
- DoubleUtil.cs
- WindowProviderWrapper.cs
- HttpException.cs
- XmlCharacterData.cs
- SettingsBase.cs
- NaturalLanguageHyphenator.cs
- ScrollChrome.cs
- DefaultMemberAttribute.cs
- XmlSchemaProviderAttribute.cs