C# Class Hosting.UIService

Inheritance: IUIService
Show file Open project: smartmobili/CocoaBuilder

Public Methods

Method Description
CanShowComponentEditor ( object component ) : bool
GetDialogOwnerWindow ( ) : System.Windows.Forms.IWin32Window
SetUIDirty ( ) : void
ShowComponentEditor ( object component, System parent ) : bool
ShowDialog ( System form ) : System.Windows.Forms.DialogResult
ShowError ( System ex ) : void
ShowError ( System ex, string message ) : void
ShowError ( string message ) : void
ShowMessage ( string message, string caption, System buttons ) : System.Windows.Forms.DialogResult
ShowMessage ( string message ) : void
ShowMessage ( string message, string caption ) : void
ShowToolWindow ( System toolWindow ) : bool
UIService ( frmMain mainForm ) : System

Method Details

CanShowComponentEditor() public method

public CanShowComponentEditor ( object component ) : bool
component object
return bool

GetDialogOwnerWindow() public method

public GetDialogOwnerWindow ( ) : System.Windows.Forms.IWin32Window
return System.Windows.Forms.IWin32Window

SetUIDirty() public method

public SetUIDirty ( ) : void
return void

ShowComponentEditor() public method

public ShowComponentEditor ( object component, System parent ) : bool
component object
parent System
return bool

ShowDialog() public method

public ShowDialog ( System form ) : System.Windows.Forms.DialogResult
form System
return System.Windows.Forms.DialogResult

ShowError() public method

public ShowError ( System ex ) : void
ex System
return void

ShowError() public method

public ShowError ( System ex, string message ) : void
ex System
message string
return void

ShowError() public method

public ShowError ( string message ) : void
message string
return void

ShowMessage() public method

public ShowMessage ( string message, string caption, System buttons ) : System.Windows.Forms.DialogResult
message string
caption string
buttons System
return System.Windows.Forms.DialogResult

ShowMessage() public method

public ShowMessage ( string message ) : void
message string
return void

ShowMessage() public method

public ShowMessage ( string message, string caption ) : void
message string
caption string
return void

ShowToolWindow() public method

public ShowToolWindow ( System toolWindow ) : bool
toolWindow System
return bool

UIService() public method

public UIService ( frmMain mainForm ) : System
mainForm frmMain
return System