Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1305376 / 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
- RelationshipManager.cs
- DESCryptoServiceProvider.cs
- BamlRecordWriter.cs
- BaseCodePageEncoding.cs
- DocumentViewerBaseAutomationPeer.cs
- LogicalExpr.cs
- _SingleItemRequestCache.cs
- MouseWheelEventArgs.cs
- DataGridViewCellValueEventArgs.cs
- TargetException.cs
- DataGridViewCellEventArgs.cs
- ModelVisual3D.cs
- ListControl.cs
- FixedElement.cs
- ConsoleKeyInfo.cs
- SignatureDescription.cs
- InstanceHandle.cs
- CellConstantDomain.cs
- PlanCompiler.cs
- EarlyBoundInfo.cs
- ObjectToken.cs
- AppDomainAttributes.cs
- Compiler.cs
- SBCSCodePageEncoding.cs
- MessageHeader.cs
- DocobjHost.cs
- DataGridViewAccessibleObject.cs
- WorkflowApplicationUnloadedException.cs
- DBCommandBuilder.cs
- SubpageParaClient.cs
- Metafile.cs
- AlignmentXValidation.cs
- IOException.cs
- PerformanceCounters.cs
- DataGridViewBand.cs
- BindingsCollection.cs
- ElementHostPropertyMap.cs
- SapiRecoContext.cs
- UserControl.cs
- PeerMessageDispatcher.cs
- IsolatedStorageFilePermission.cs
- QueryableDataSourceView.cs
- DbParameterHelper.cs
- RowUpdatedEventArgs.cs
- Overlapped.cs
- DataObjectAttribute.cs
- _SSPIWrapper.cs
- TabControlToolboxItem.cs
- CompositeActivityTypeDescriptor.cs
- ColumnMapTranslator.cs
- SystemUnicastIPAddressInformation.cs
- DataGridLinkButton.cs
- StorageEntityTypeMapping.cs
- NativeMethods.cs
- PathSegmentCollection.cs
- ToolStripDropDownClosingEventArgs.cs
- DataDocumentXPathNavigator.cs
- InheritanceAttribute.cs
- ClassicBorderDecorator.cs
- DataGridViewImageColumn.cs
- AppDomainShutdownMonitor.cs
- TimeSpanValidator.cs
- CodeMemberMethod.cs
- SafeFindHandle.cs
- DataListItemCollection.cs
- InheritablePropertyChangeInfo.cs
- DataGridViewColumn.cs
- ClientSponsor.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ArithmeticException.cs
- ReservationCollection.cs
- LineUtil.cs
- XmlSchemaType.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- CompilerCollection.cs
- GradientBrush.cs
- ArraySet.cs
- IssuedSecurityTokenParameters.cs
- ReadingWritingEntityEventArgs.cs
- TargetParameterCountException.cs
- AssemblyLoader.cs
- SchemaExporter.cs
- WebPartExportVerb.cs
- ArraySubsetEnumerator.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- AssertSection.cs
- ScriptRef.cs
- XmlDictionaryString.cs
- FixedSOMPageConstructor.cs
- MimeObjectFactory.cs
- SqlUserDefinedAggregateAttribute.cs
- ExpressionPrefixAttribute.cs
- ConnectionInterfaceCollection.cs
- ClientOperation.cs
- TypeSemantics.cs
- VisualBrush.cs
- PageThemeCodeDomTreeGenerator.cs
- TimelineGroup.cs
- PropertyCollection.cs
- HexParser.cs