private ShowDialog ( |
||
parent | ||
icon | MessageIcon | |
title | string | |
content | string | |
choices | MessageChoice | |
help | string | |
enableDontAsk | bool | |
defaultChoice | MessageChoice | |
return | void |
internal static MessageChoice Show(Window parent, MessageIcon icon, string title, string content, MessageChoice choices, string help, bool enableDontAsk, MessageChoice defaultChoice) { var window = new DialogViewModel(); window.ShowDialog(parent, icon, title, content, choices, help, enableDontAsk, defaultChoice); return(window.Result); }
internal static MessageChoice Show(Window parent, MessageIcon icon, string title, string content, MessageChoice choices, string help, bool enableDontAsk, MessageChoice defaultChoice) { var window = new DialogViewModel(); window.ShowDialog(parent, icon, title, content, choices, help, enableDontAsk, defaultChoice); return window.Result; }