Files
mono/mcs/class/System.Windows.Forms/System.Windows.Forms.Design/IUIService.cs
T
Andreas N 5d903c17e5 2004-04-14 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Removed
	* TODOAttribute.cs: Removed (duplicate)

	* System.Windows.Forms.Design.csproj.user
	* System.Windows.Forms.Design.csproj: Removed (outdated)

	* WindowsFormsComponentEditor.cs
	* ComponentEditorPage.cs: Added, mostly implemented

	* ComponentEditor.cs: Removed (does not belong here)

svn path=/trunk/mcs/; revision=25509
2004-04-14 21:58:19 +00:00

32 lines
893 B
C#

//
// System.Windows.Forms.Design.IUIService.cs
//
// Author:
// Andreas Nahr ([email protected])
//
using System.Runtime.InteropServices;
using System.Collections;
namespace System.Windows.Forms.Design
{
[Guid ("06a9c74b-5e32-4561-be73-381b37869f4f")]
public interface IUIService
{
IDictionary Styles {get;}
bool CanShowComponentEditor (object component);
IWin32Window GetDialogOwnerWindow ();
void SetUIDirty ();
bool ShowComponentEditor (object component, IWin32Window parent);
void ShowError (Exception ex);
void ShowError (string message);
void ShowError (Exception ex, string message);
DialogResult ShowDialog (Form form);
void ShowMessage (string message);
void ShowMessage (string message, string caption);
DialogResult ShowMessage (string message, string caption, MessageBoxButtons buttons);
bool ShowToolWindow (Guid toolWindow);
}
}