ShowDialog() 개인적인 메소드

private ShowDialog ( Window parent, MessageIcon icon, string title, string content, MessageChoice choices, string help, bool enableDontAsk, MessageChoice defaultChoice ) : void
parent System.Windows.Window
icon MessageIcon
title string
content string
choices MessageChoice
help string
enableDontAsk bool
defaultChoice MessageChoice
리턴 void
예제 #1
0
        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);
        }
예제 #2
0
 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;
 }