コード例 #1
0
        public static new MessageBoxResult Show()
        {
            InteraccionSubsiguienteChildView msg = new InteraccionSubsiguienteChildView();

            InteraccionSubsiguienteChildViewModel viewModelInstance = App.Locator.InteraccionSubsiguienteChildViewModelStatic;
            viewModelInstance.Result = false;
            //viewModelInstance.Configure(msg, caption, messageBoxText, button, icon, defaultResult);
            
            msg.DataContext = viewModelInstance;
            (msg as CRMChildWindow).Show();

            msg.waitClosingWindow();

            return MessageBoxResult.OK;// viewModelInstance.Result;
        }
コード例 #2
0
        public static new MessageBoxResult Show()
        {
            InteraccionSubsiguienteChildView msg = new InteraccionSubsiguienteChildView();

            InteraccionSubsiguienteChildViewModel viewModelInstance = App.Locator.InteraccionSubsiguienteChildViewModelStatic;

            viewModelInstance.Result = false;
            //viewModelInstance.Configure(msg, caption, messageBoxText, button, icon, defaultResult);

            msg.DataContext = viewModelInstance;
            (msg as CRMChildWindow).Show();

            msg.waitClosingWindow();

            return(MessageBoxResult.OK);// viewModelInstance.Result;
        }