Exemplo n.º 1
0
        public static void CloseApplication()
        {
            OperProcess op = new OperProcess();

            //启动进程
            op.StartProcess();
        }
        public void StartUpdate()
        {
            if (bDownload)
            {
                OperProcess op = new OperProcess();
                op.InitUpdateEnvironment();
                DownloadConfirm dc = new DownloadConfirm(downloadList);

                if (this.OnShow != null)
                {
                    this.OnShow();
                }
                StartDownload(downloadList);
            }
        }