C# Class Gilgame.SEWorkbench.Services.MessageBox

显示文件 Open project: gilgame/SEWorkbench

Public Methods

Method Description
ShowError ( string error, Exception ex ) : System.Windows.MessageBoxResult
ShowError ( object ex ) : void
ShowMessage ( string message ) : System.Windows.MessageBoxResult
ShowQuestion ( string question ) : System.Windows.MessageBoxResult

Method Details

ShowError() public static method

public static ShowError ( string error, Exception ex ) : System.Windows.MessageBoxResult
error string
ex System.Exception
return System.Windows.MessageBoxResult

ShowError() public static method

public static ShowError ( object ex ) : void
ex object
return void

ShowMessage() public static method

public static ShowMessage ( string message ) : System.Windows.MessageBoxResult
message string
return System.Windows.MessageBoxResult

ShowQuestion() public static method

public static ShowQuestion ( string question ) : System.Windows.MessageBoxResult
question string
return System.Windows.MessageBoxResult