Exemplo n.º 1
0
        // -------------------------------------------------------------------------------------------------------
        // OpenDialog base function with a provided window.
        public static WindowMessageResult OpenDialog(DialogWindowView dialogWindowView, Window parentWindow, ShutdownMode shutdownMode)
        {
            if (dialogWindowView.IsValid == false)
            {
                return(WindowMessageResult.Undefined);
            }

            return(openDialogWork(dialogWindowView.DialogWindow, dialogWindowView.WindowViewModel, parentWindow, shutdownMode));
        }
Exemplo n.º 2
0
 // OpenDialog with no parent window and using current Application Object ShutdownMode.
 public static WindowMessageResult OpenDialog(DialogWindowView dialogWindowView)
 {
     return(OpenDialog(dialogWindowView, null, CurrentApplicationShutdownMode()));
 }
Exemplo n.º 3
0
 // OpenDialog with no parent window object and passed in ShutdownMode.
 public static WindowMessageResult OpenDialog(DialogWindowView dialogWindowView, ShutdownMode shutdownMode)
 {
     return(OpenDialog(dialogWindowView, null, shutdownMode));
 }