コード例 #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();
            }));
        }
コード例 #2
0
        private void checkFiles()
        {
            LoadingView load = new LoadingView();

            load.ShowDialog();
        }