private void bStop_Click(object sender, EventArgs e) { if (drawing) { sw.Stop(); map = new HeatMap(tiles); drawing = false; image.Save(@"G:\Pictures\test.png", ImageFormat.Png); } }
private void bClear_Click(object sender, EventArgs e) { lTime.Text = "0:00:00:00"; map = null; }