Ejemplo n.º 1
0
        public void ChangePlatesUsed()
        {
            var dialog = new ChangePlatesUsedDialogViewModel();

            var result = _windowManager.ShowDialog(dialog);

            if (result == true)
            {
                Event.PInfo.PlatesUsed = dialog.AntalPlader;
            }
        }
Ejemplo n.º 2
0
        public void DialogTester()
        {
            //Jeg er ikke 100 på hvorfor this expandoshit couldnt be done
            var dialog = new ChangePlatesUsedDialogViewModel();
            //dynamic settings = new ExpandoObject();
            //settings.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            //settings.ResizeMode = ResizeMode.NoResize;
            //settings.Width = 200;
            //settings.Height = 120;
            var result = _windowManager.ShowDialog(dialog /*, null, settings*/);

            if (result == true)
            {
            }
        }