Class OTZMessageDialog
Inheritance
System.Object
OTZMessageDialog
アセンブリ: OTZControls.dll
Syntax
public class OTZMessageDialog
コンストラクタ
OTZMessageDialog()
宣言
public OTZMessageDialog()
宣言
public OTZMessageDialog(IWin32Window owner)
パラメーター
型 |
名前 |
説明 |
System.Windows.Forms.IWin32Window |
owner |
|
宣言
public OTZMessageDialog(IWin32Window owner, string caption)
パラメーター
型 |
名前 |
説明 |
System.Windows.Forms.IWin32Window |
owner |
|
System.String |
caption |
|
プロパティ
Caption
宣言
public string Caption { get; set; }
プロパティ値
OK
宣言
public static TaskDialogButtonCollection OK { get; }
プロパティ値
型 |
説明 |
System.Windows.Forms.TaskDialogButtonCollection |
|
Owner
宣言
public IWin32Window Owner { get; set; }
プロパティ値
型 |
説明 |
System.Windows.Forms.IWin32Window |
|
宣言
public static TaskDialogButtonCollection YesNoButton { get; }
プロパティ値
型 |
説明 |
System.Windows.Forms.TaskDialogButtonCollection |
|
宣言
public static TaskDialogButtonCollection YesNoCancelButton { get; }
プロパティ値
型 |
説明 |
System.Windows.Forms.TaskDialogButtonCollection |
|
メソッド
GetMessage(String, String[])
宣言
public string GetMessage(string message, string[] replaceMessage)
パラメーター
型 |
名前 |
説明 |
System.String |
message |
|
System.String[] |
replaceMessage |
|
戻り値
宣言
public DialogResult Show(string message, MessageBoxIcon icon)
パラメーター
型 |
名前 |
説明 |
System.String |
message |
|
System.Windows.Forms.MessageBoxIcon |
icon |
|
戻り値
型 |
説明 |
System.Windows.Forms.DialogResult |
|
宣言
public DialogResult Show(MessageBoxIcon icon, string message, string replaceMessage)
パラメーター
型 |
名前 |
説明 |
System.Windows.Forms.MessageBoxIcon |
icon |
|
System.String |
message |
|
System.String |
replaceMessage |
|
戻り値
型 |
説明 |
System.Windows.Forms.DialogResult |
|
宣言
public DialogResult Show(MessageBoxIcon icon, string message, MessageBoxButtons button)
パラメーター
型 |
名前 |
説明 |
System.Windows.Forms.MessageBoxIcon |
icon |
|
System.String |
message |
|
System.Windows.Forms.MessageBoxButtons |
button |
|
戻り値
型 |
説明 |
System.Windows.Forms.DialogResult |
|
宣言
public DialogResult Show(MessageBoxIcon icon, string message, MessageBoxButtons button, string replaceMessage)
パラメーター
型 |
名前 |
説明 |
System.Windows.Forms.MessageBoxIcon |
icon |
|
System.String |
message |
|
System.Windows.Forms.MessageBoxButtons |
button |
|
System.String |
replaceMessage |
|
戻り値
型 |
説明 |
System.Windows.Forms.DialogResult |
|
宣言
public TaskDialogButton ShowDialog(string message, string subMessage, string caption, TaskDialogIcon icon, TaskDialogButtonCollection buttons, TaskDialogButton defaultButton)
パラメーター
型 |
名前 |
説明 |
System.String |
message |
表示するメッセージ。
|
System.String |
subMessage |
表示するサブメッセージ。
|
System.String |
caption |
タイトル。
|
System.Windows.Forms.TaskDialogIcon |
icon |
アイコン。
|
System.Windows.Forms.TaskDialogButtonCollection |
buttons |
ボタン。
|
System.Windows.Forms.TaskDialogButton |
defaultButton |
デフォルトボタン。
|
戻り値
型 |
説明 |
System.Windows.Forms.TaskDialogButton |
|