Ejemplo 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));
        }
Ejemplo 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()));
 }
Ejemplo 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));
 }