private void RotateRight() { timer1.Enabled = false; MyCartogram.RotateCartogram(1); g.FillRectangle(Brushes.Gray, 0, 0, this.pictureBox1.Width, this.pictureBox1.Width); MyCartogram.RePaintAll(checkBox1.Checked); MyCartogram.DrawGrid(NextTvs); // MyCartogram.UpdateTVSNumber(); timer1.Enabled = true; }
private void RotateRight() { timer1.Enabled = false; g.FillRectangle(Brushes.Gray, 0, 0, this.pictureBox1.Width, this.pictureBox1.Width); MyCartogram.RotateCartogram(1); MyCartogram.RePaintAll(checkBox1.Checked); MyCartogram.DrawAllAxis(); MyCartogram.DrawGrid(NextTvs); SetNewSuCord(); ReDrawSU(); timer1.Enabled = true; }