//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel.Design {
using Microsoft.Win32;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Security.Permissions;
///
/// Provides data for the System.ComponentModel.Design.IDesignerEventService.DesignerEvent
/// event that is generated when a document is created or disposed.
///
[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 DesignerEventArgs : EventArgs {
private readonly IDesignerHost host;
///
///
/// Initializes a new instance of the System.ComponentModel.Design.DesignerEventArgs
/// class.
///
///
public DesignerEventArgs(IDesignerHost host) {
this.host = host;
}
///
///
/// Gets or
/// sets the host of the document.
///
///
public IDesignerHost Designer {
get {
return host;
}
}
}
}