private void CentringButton_Click(object sender, EventArgs e) { Figure.CentringObject(PictureBox.Height / 2, PictureBox.Width / 2); Draw(); }