示例#1
0
 public Form1()
 {
     InitializeComponent();
     GA = new calcGA(board.CreateGraphics());
     updStat();
     iterCnt = 0;
 }
示例#2
0
 private void clear(object sender, EventArgs e)
 {
     threadStart = false;
     board.CreateGraphics().Clear(Color.White);
     GA      = new calcGA(board.CreateGraphics());
     iterCnt = 0;
     showCnt = 0;
     candraw = true;
     updStat();
 }