Example #1
0
        public void ShowUI()
        {
            ContainerWindow container = ContainerWindow.CurrentInstance ?? new ContainerWindow
            {
                DataContext = ServiceLocator.Resolve <ContainerViewModel>()
            };

            //container.SetScaling(Virgil.Disk.Windows.GetRawDpi());
            container.Topmost = true;
            container.Topmost = false;
            container.Show();
            container.PositionWindowOnScreen();
            container.Activate();
        }