| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // System.Drawing.Design.IDesignerHost.cs
- //
- // Author:
- // Alejandro Sánchez Acosta <[email protected]>
- //
- // (C) Alejandro Sánchez Acosta
- //
- using System.ComponentModel;
- using System.ComponentModel.Design;
- using System.Runtime.InteropServices;
- namespace System.Drawing.Design
- {
- [ComVisible(true)]
- public interface IDesignerHost : IServiceContainer, IServiceProvider
- {
- IContainer Container {get;}
- bool InTransaction {get;}
- bool Loading {get;}
- IComponent RootComponent {get;}
- string RootComponentClassName {get;}
- string TransactionDescription {get;}
- void Activate();
- IComponent CreateComponent (Type componentClass);
- IComponent CreateComponent (Type componentClass, string name);
- DesignerTransaction CreateTransaction ();
- DesignerTransaction CreateTransaction (string description);
- void DestroyComponent (IComponent component);
- IDesigner GetDesigner (IComponent component);
- Type GetType (string typeName);
- }
- }
|