Инструменты пользователя

Инструменты сайта


developers:references:b33a4b66c71fee9749fd3f840febebbe

Метод MessageDlg.Show(String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton)

Displays a message box with the specified text, buttons, icon, and default button.

Синтаксис

public static DialogResult Show(string text, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)

Параметры

  • text
    • Тип: System.String
    • The text to display in the message box.
  • buttons
    • Тип: System.Windows.Forms.MessageBoxButtons
    • One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box.
  • icon
    • Тип: System.Windows.Forms.MessageBoxIcon
    • One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box.
  • defaultButton
    • Тип: System.Windows.Forms.MessageBoxDefaultButton
    • One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box.

Возвращаемое значение

  • Тип: System.Windows.Forms.DialogResult
  • One of the System.Windows.Forms.DialogResult values.
developers/references/b33a4b66c71fee9749fd3f840febebbe.txt · Последние изменения: 2023/07/28 17:28 (внешнее изменение)