Exemple #1
0
        public static void Show(string message)
        {
            Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background,
                                                       new Action(() =>
            {
                LoadingDialogViewModel loadingDialogViewModel = new LoadingDialogViewModel();

                loadingDialogViewModel.DisplayName = message;

                _view = new LoadingView(loadingDialogViewModel);

                _view.ShowDialog();
            }));
        }
Exemple #2
0
        private void checkFiles()
        {
            LoadingView load = new LoadingView();

            load.ShowDialog();
        }