示例#1
0
 void DoReset(bool initial = false)
 {
     if (!initial)
     {
         CloseHeuristicLog();
     }
     listBox1.Items.Clear();
     heuristics.Reset();
     if (!initial)
     {
         View.ResetValues();
     }
     bStart.Enabled       = true;
     Snapshots            = new TekSnapShot(View.Board);
     Snapshots.AutoRemove = false;
 }
示例#2
0
 private void bReset_Click(object sender, EventArgs e)
 {
     View.ResetValues();
 }