C# Class CSKernelClient.cWindow

显示文件 Open project: javiercrowsoft/CSReports.net

Public Methods

Method Description
ask ( String msg, MessageBoxDefaultButton defaultButton ) : bool
ask ( String msg, MessageBoxDefaultButton defaultButton, String Title ) : bool
centerForm ( Form form ) : void
locateFormAtLeft ( Form form ) : void
locateFormAtTop ( Form form ) : void
msgError ( String msg ) : void
msgError ( String msg, String title ) : void
msgError ( String msg, String title, String details ) : void
msgInfo ( String msg ) : void
msgInfo ( String msg, String title ) : void
msgWarning ( String msg ) : void
msgWarning ( String msg, String title ) : void
msgWarning ( String msg, String title, String details ) : void
setTitle ( String value ) : void

Private Methods

Method Description
pMsgAux ( String msg, CSMSGICONS icon, String title, String details ) : void

Method Details

ask() public static method

public static ask ( String msg, MessageBoxDefaultButton defaultButton ) : bool
msg String
defaultButton MessageBoxDefaultButton
return bool

ask() public static method

public static ask ( String msg, MessageBoxDefaultButton defaultButton, String Title ) : bool
msg String
defaultButton MessageBoxDefaultButton
Title String
return bool

centerForm() public static method

public static centerForm ( Form form ) : void
form System.Windows.Forms.Form
return void

locateFormAtLeft() public static method

public static locateFormAtLeft ( Form form ) : void
form System.Windows.Forms.Form
return void

locateFormAtTop() public static method

public static locateFormAtTop ( Form form ) : void
form System.Windows.Forms.Form
return void

msgError() public static method

public static msgError ( String msg ) : void
msg String
return void

msgError() public static method

public static msgError ( String msg, String title ) : void
msg String
title String
return void

msgError() public static method

public static msgError ( String msg, String title, String details ) : void
msg String
title String
details String
return void

msgInfo() public static method

public static msgInfo ( String msg ) : void
msg String
return void

msgInfo() public static method

public static msgInfo ( String msg, String title ) : void
msg String
title String
return void

msgWarning() public static method

public static msgWarning ( String msg ) : void
msg String
return void

msgWarning() public static method

public static msgWarning ( String msg, String title ) : void
msg String
title String
return void

msgWarning() public static method

public static msgWarning ( String msg, String title, String details ) : void
msg String
title String
details String
return void

setTitle() public static method

public static setTitle ( String value ) : void
value String
return void