Exemple #1
0
        public void LoadReport(User user, IFrontServiceClient frontServiceClient)
        {
            this.mainWindow.Dispatcher.Invoke(() =>
            {
                this.mainWindow.WindowState           = WindowState.Normal;
                this.mainWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            });

            this.SetElement(mainWindow, (UIElement)viewFactory.CreateViewReport(user, frontServiceClient));
        }