IUIService.cs 773 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections;
  3. namespace System.Windows.Forms.Design
  4. {
  5. /// <summary>
  6. /// Summary description for IUIService.
  7. /// </summary>
  8. public interface IUIService
  9. {
  10. IDictionary Styles {get;}
  11. bool CanShowComponentEditor( object component);
  12. IWin32Window GetDialogOwnerWindow();
  13. void SetUIDirty();
  14. bool ShowComponentEditor( object component, IWin32Window parent);
  15. void ShowError(Exception ex);
  16. void ShowError(string message);
  17. void ShowError(Exception ex, string message);
  18. DialogResult ShowDialog(Form form);
  19. void ShowMessage(string message);
  20. void ShowMessage(string message, string caption);
  21. DialogResult ShowMessage(string message, string caption, MessageBoxButtons buttons);
  22. bool ShowToolWindow( Guid toolWindow);
  23. }
  24. }