Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- RijndaelManagedTransform.cs
- InProcStateClientManager.cs
- PropertyDescriptorCollection.cs
- IgnoreFileBuildProvider.cs
- DesignTimeHTMLTextWriter.cs
- ChangeInterceptorAttribute.cs
- CodeTypeMemberCollection.cs
- Matrix3D.cs
- PolyLineSegment.cs
- MouseBinding.cs
- ClientBuildManagerCallback.cs
- EntityDataSourceViewSchema.cs
- ComplexBindingPropertiesAttribute.cs
- AssemblyAttributesGoHere.cs
- SystemUdpStatistics.cs
- ManifestResourceInfo.cs
- DataGridViewUtilities.cs
- XmlSchemaAttributeGroup.cs
- RequestStatusBarUpdateEventArgs.cs
- ApplicationFileCodeDomTreeGenerator.cs
- OutOfMemoryException.cs
- OleDbCommand.cs
- HtmlTernaryTree.cs
- GroupedContextMenuStrip.cs
- RsaKeyIdentifierClause.cs
- StringCollectionEditor.cs
- CellParagraph.cs
- XmlDictionaryReaderQuotas.cs
- StrokeCollectionConverter.cs
- RoleGroup.cs
- DispatchChannelSink.cs
- XmlDataLoader.cs
- DataGridViewComponentPropertyGridSite.cs
- RegexRunner.cs
- LogLogRecordHeader.cs
- FlowLayoutPanel.cs
- FreeFormPanel.cs
- MailDefinition.cs
- StylusDevice.cs
- DirectoryInfo.cs
- RegexRunner.cs
- filewebresponse.cs
- SqlDataReader.cs
- InternalResources.cs
- DtdParser.cs
- ConfigurationManagerHelperFactory.cs
- PipelineDeploymentState.cs
- sqlser.cs
- GlobalProxySelection.cs
- PointCollectionValueSerializer.cs
- OuterGlowBitmapEffect.cs
- PersonalizationStateInfoCollection.cs
- ColorMap.cs
- ParentUndoUnit.cs
- WebPartCloseVerb.cs
- PersistenceTypeAttribute.cs
- ProxyGenerationError.cs
- DiscreteKeyFrames.cs
- WCFServiceClientProxyGenerator.cs
- FastPropertyAccessor.cs
- CommonGetThemePartSize.cs
- PointCollection.cs
- BufferAllocator.cs
- RecordManager.cs
- CompileXomlTask.cs
- ConfigurationHandlersInstallComponent.cs
- DataBinding.cs
- XmlBinaryReader.cs
- SequentialActivityDesigner.cs
- WebPartAddingEventArgs.cs
- SyncMethodInvoker.cs
- COM2PropertyBuilderUITypeEditor.cs
- MailMessage.cs
- DPTypeDescriptorContext.cs
- uribuilder.cs
- Splitter.cs
- HtmlInputImage.cs
- ProviderIncompatibleException.cs
- WmlObjectListAdapter.cs
- TerminateDesigner.cs
- ControlBindingsCollection.cs
- StateWorkerRequest.cs
- RadioButtonRenderer.cs
- LayoutTable.cs
- baseshape.cs
- SHA1Managed.cs
- StylusButton.cs
- WebZone.cs
- EdmRelationshipRoleAttribute.cs
- OperationCanceledException.cs
- DrawingImage.cs
- WindowsListViewItem.cs
- ParserContext.cs
- ContextMenuAutomationPeer.cs
- ManagementClass.cs
- Debug.cs
- ContainerActivationHelper.cs
- BehaviorEditorPart.cs
- documentsequencetextpointer.cs
- AtomContentProperty.cs