예제 #1
0
 private void GraphsForm_Activated(object sender, EventArgs e)
 {
     if (activationFlag == false)
     {
         return;
     }
     SearchProgress.Show();
     this.Enabled = false;
     performHarmonySearch();
     plotChart();
     SearchProgress.Hide();
     this.Enabled   = true;
     activationFlag = false;
 }
예제 #2
0
 private void RerunButton_Click(object sender, EventArgs e)
 {
     SearchProgress.Show();
     this.Enabled = false;
     performHarmonySearch();
     numericsTab.Controls.RemoveByKey("aestheticsLabel");
     for (int k = 1; k <= totalNotes; k++)
     {
         numericsTab.Controls.RemoveByKey("x" + k + "Label");
         notesTab.Controls.RemoveByKey("x" + k + "Chart");
     }
     plotChart();
     SearchProgress.Hide();
     this.Enabled = true;
 }