Kimono.KMessageBox.MessageBox C# (CSharp) Метод

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

Alternate method to show a messagebox: name="parent" If parent is 0, then the message box becomes an application-global modal dialog box. If parent is a widget, the message box becomes modal relative to parent. name="type" type of message box: QuestionYesNo, WarningYesNo, WarningContinueCancel... name="text" Message string. name="caption" Message box title. name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="dontShowAskAgainName" If provided, a checkbox is added with which further questions/information can be turned off. If turned off all questions will be automatically answered with the last answer (either Yes or No), if the message box needs an answer. The string is used to lookup and store the setting in the applications config file. name="options" see Options Note: for ContinueCancel, buttonYes is the continue button and buttonNo is unused. and for Information, none is used.
public static MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName, uint options ) : int
parent QWidget
type KMessageBox
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontShowAskAgainName string
options uint
Результат int
        public static int MessageBox(QWidget parent, KMessageBox.DialogType type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName, uint options)
        {
            return (int) staticInterceptor.Invoke("messageBox#$$$###$$", "messageBox(QWidget*, KMessageBox::DialogType, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, KMessageBox::Options)", typeof(int), typeof(QWidget), parent, typeof(KMessageBox.DialogType), type, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(KGuiItem), buttonCancel, typeof(string), dontShowAskAgainName, typeof(uint), options);
        }

Same methods

KMessageBox::MessageBox ( QWidget parent, KMessageBox type, string text ) : int
KMessageBox::MessageBox ( QWidget parent, KMessageBox type, string text, string caption ) : int
KMessageBox::MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes ) : int
KMessageBox::MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
KMessageBox::MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
KMessageBox::MessageBox ( QWidget parent, KMessageBox type, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontShowAskAgainName ) : int