Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PersianCalendar.cs
- DocumentPageHost.cs
- TextRangeEditLists.cs
- HttpValueCollection.cs
- SQLMoney.cs
- ConnectionPointCookie.cs
- ActivationArguments.cs
- UnsafeNativeMethods.cs
- DefaultAsyncDataDispatcher.cs
- DateTimeFormat.cs
- FormViewInsertEventArgs.cs
- ScriptingProfileServiceSection.cs
- InputLanguage.cs
- TextEditorContextMenu.cs
- ActivityTypeCodeDomSerializer.cs
- SeekStoryboard.cs
- HttpClientCertificate.cs
- RepeatBehaviorConverter.cs
- UserControl.cs
- BaseHashHelper.cs
- ToolStripSettings.cs
- Wizard.cs
- StrongTypingException.cs
- BrowsableAttribute.cs
- FilterElement.cs
- CoreSwitches.cs
- MaterialGroup.cs
- DataGridSortCommandEventArgs.cs
- TraceInternal.cs
- IgnoreFileBuildProvider.cs
- DefinitionBase.cs
- EntitySet.cs
- Throw.cs
- ConnectionStringSettings.cs
- ControlParser.cs
- DynamicPropertyHolder.cs
- DataPagerFieldCollection.cs
- SoapTransportImporter.cs
- LookupBindingPropertiesAttribute.cs
- ComponentRenameEvent.cs
- SuppressMergeCheckAttribute.cs
- EntityProviderServices.cs
- CompiledRegexRunner.cs
- EntityContainer.cs
- Geometry.cs
- Choices.cs
- CodeDomConfigurationHandler.cs
- Site.cs
- WebPartDisplayMode.cs
- CalendarDesigner.cs
- X509Chain.cs
- WebCodeGenerator.cs
- ToolTipAutomationPeer.cs
- WeakReference.cs
- TextDecorationCollection.cs
- FormClosingEvent.cs
- WebPermission.cs
- DataGridViewSelectedColumnCollection.cs
- UIHelper.cs
- X509UI.cs
- TakeQueryOptionExpression.cs
- Brush.cs
- EncodingStreamWrapper.cs
- SqlBulkCopyColumnMappingCollection.cs
- CodeAssignStatement.cs
- ByteAnimation.cs
- _AcceptOverlappedAsyncResult.cs
- DesignerView.cs
- CodeDomSerializerBase.cs
- DataBinder.cs
- WebPartManagerInternals.cs
- HandoffBehavior.cs
- DoubleStorage.cs
- XmlCustomFormatter.cs
- IndicCharClassifier.cs
- SoapSchemaImporter.cs
- SafeNativeMethods.cs
- ListViewUpdateEventArgs.cs
- CompletedAsyncResult.cs
- LicenseException.cs
- XmlParserContext.cs
- BufferedReadStream.cs
- Receive.cs
- BypassElement.cs
- OutputCacheProfileCollection.cs
- MeasureItemEvent.cs
- DataPointer.cs
- Int16Storage.cs
- ModuleElement.cs
- Constants.cs
- NavigationCommands.cs
- TaskHelper.cs
- MsmqReceiveHelper.cs
- ArraySubsetEnumerator.cs
- DatePicker.cs
- WorkItem.cs
- ADRole.cs
- KeyProperty.cs
- TransformerInfoCollection.cs
- PropertyGeneratedEventArgs.cs