C# Class TI.Toolbox.MsgBox

Afficher le fichier Open project: x893/BTool Class Usage Examples

Méthodes publiques

Méthode Description
GetConsoleMode ( ) : bool
GetLoggingMode ( ) : bool
GetMsgBoxDisplayed ( ) : bool
SetConsoleMode ( bool newConsoleMode ) : bool
SetLoggingMode ( bool newLoggingMode ) : bool
UserMsgBox ( Form owner, MsgBox msgType, MsgBox msgButtons, MsgBox defaultMsgResult, string msg ) : MsgBox.MsgResult
UserMsgBox ( MsgTypes msgType, MsgButtons msgButtons, MsgResult defaultMsgResult, string msg ) : MsgBox.MsgResult
UserMsgBox ( Form owner, MsgTypes msgType, string msg ) : void
UserMsgBox ( MsgBox msgType, string msg ) : void

Private Methods

Méthode Description
GetMsgBoxTitle ( MsgBox msgType ) : string
GetMsgTypeStr ( MsgBox msgType ) : string
MsgBox ( ) : System
WriteLogMsg ( MsgBox msgType, string msg ) : bool

Method Details

GetConsoleMode() public static méthode

public static GetConsoleMode ( ) : bool
Résultat bool

GetLoggingMode() public static méthode

public static GetLoggingMode ( ) : bool
Résultat bool

GetMsgBoxDisplayed() public static méthode

public static GetMsgBoxDisplayed ( ) : bool
Résultat bool

SetConsoleMode() public static méthode

public static SetConsoleMode ( bool newConsoleMode ) : bool
newConsoleMode bool
Résultat bool

SetLoggingMode() public static méthode

public static SetLoggingMode ( bool newLoggingMode ) : bool
newLoggingMode bool
Résultat bool

UserMsgBox() public méthode

public UserMsgBox ( Form owner, MsgBox msgType, MsgBox msgButtons, MsgBox defaultMsgResult, string msg ) : MsgBox.MsgResult
owner System.Windows.Forms.Form
msgType MsgBox
msgButtons MsgBox
defaultMsgResult MsgBox
msg string
Résultat MsgBox.MsgResult

UserMsgBox() public méthode

public UserMsgBox ( MsgTypes msgType, MsgButtons msgButtons, MsgResult defaultMsgResult, string msg ) : MsgBox.MsgResult
msgType MsgTypes
msgButtons MsgButtons
defaultMsgResult MsgResult
msg string
Résultat MsgBox.MsgResult

UserMsgBox() public méthode

public UserMsgBox ( Form owner, MsgTypes msgType, string msg ) : void
owner System.Windows.Forms.Form
msgType MsgTypes
msg string
Résultat void

UserMsgBox() public méthode

public UserMsgBox ( MsgBox msgType, string msg ) : void
msgType MsgBox
msg string
Résultat void