C# Класс TI.Toolbox.MsgBox

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetMsgBoxTitle ( MsgBox msgType ) : string
GetMsgTypeStr ( MsgBox msgType ) : string
MsgBox ( ) : System
WriteLogMsg ( MsgBox msgType, string msg ) : bool

Описание методов

GetConsoleMode() публичный статический Метод

public static GetConsoleMode ( ) : bool
Результат bool

GetLoggingMode() публичный статический Метод

public static GetLoggingMode ( ) : bool
Результат bool

GetMsgBoxDisplayed() публичный статический Метод

public static GetMsgBoxDisplayed ( ) : bool
Результат bool

SetConsoleMode() публичный статический Метод

public static SetConsoleMode ( bool newConsoleMode ) : bool
newConsoleMode bool
Результат bool

SetLoggingMode() публичный статический Метод

public static SetLoggingMode ( bool newLoggingMode ) : bool
newLoggingMode bool
Результат bool

UserMsgBox() публичный Метод

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
Результат MsgBox.MsgResult

UserMsgBox() публичный Метод

public UserMsgBox ( MsgTypes msgType, MsgButtons msgButtons, MsgResult defaultMsgResult, string msg ) : MsgBox.MsgResult
msgType MsgTypes
msgButtons MsgButtons
defaultMsgResult MsgResult
msg string
Результат MsgBox.MsgResult

UserMsgBox() публичный Метод

public UserMsgBox ( Form owner, MsgTypes msgType, string msg ) : void
owner System.Windows.Forms.Form
msgType MsgTypes
msg string
Результат void

UserMsgBox() публичный Метод

public UserMsgBox ( MsgBox msgType, string msg ) : void
msgType MsgBox
msg string
Результат void