雨落星沉
生而有涯,学而无涯。
                    Application.Current.Shutdown();
                    Thread thread = new Thread(new ThreadStart(reStart));
                    thread.Start();
ViewModel_Command

 

        private void reStart()
        {
            string path = AppDomain.CurrentDomain.BaseDirectory + "AppDesktopStartUp.exe";
            Process.Start(path);
        }
ViewModel_Void

 

posted on 2020-03-23 20:47  雨落星沉  阅读(282)  评论(0)    收藏  举报