Exemplo n.º 1
0
 private void closeProgressWin()
 {
     // set the closing event should not be cancelled.
     //nFinished = finish;
     progressWin.StateFlag = 2;
     progressWin.Close();
     progressWin = null;
 }
Exemplo n.º 2
0
        private void showProgressDialog(int nTotal)
        {
            progressWin       = new ProgressWin(nTotal);
            progressWin.Owner = this;
            progressWin.ShowDialog();

            //importPicsThread.Abort();

            MessageBox.Show(String.Format("成功导入{0}张图片", nFinished), "祝贺您");
        }