Ejemplo n.º 1
0
        private void backgroundWorkerAddParts_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            pbMain.Visible = false;
            if (dirsNotAdded != null)
            {
                if (dirsNotAdded.Count > 0)
                {
                    directoriesNotAddedToolStripMenuItem.Visible = true;

                    DirectoriesNotAdded na = new DirectoriesNotAdded(dirsNotAdded);
                    na.Show();
                }
            }
        }
Ejemplo n.º 2
0
 private void directoriesNotAddedToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dirsNotAdded != null)
     {
         if (dirsNotAdded.Count > 0)
         {
             DirectoriesNotAdded na = new DirectoriesNotAdded(dirsNotAdded);
             na.Show();
         }
     }
     else
     {
         MessageBox.Show("This list is only available after adding parts. It will list any directories that had problems adding parts.");
     }
 }