private void button5_Click(object sender, EventArgs e) { imageBox2.Image = log.Rotation(sourceImage, Convert.ToDouble(textBox3.Text)); }