Ejemplo n.º 1
0
        void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            progressWin.Close();
            if (uploadErrors > 0)
            {
                string s = (uploadErrors > 1) ? "s" : "";
                MessageBox.Show(string.Format("{0} Issue{1} had errors!", uploadErrors, s), "Error", MessageBoxButton.OK, MessageBoxImage.Error);
            }
            if (e.Cancelled)
            {
                MessageBox.Show("Upload Canceled!", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
            }

            if (uploadComplete != null)
            {
                uploadComplete(this, new IntArg(projIndex));
            }
            if (delAfter)
            {
                DeleteDirectory(path);
            }
        }
Ejemplo n.º 2
0
 public void disposeProgressWin()
 {
     progressWin.Close();
 }