private void btnReset_Click(object sender, System.EventArgs e) { Angle = 0; pbTerrain.Image = new Bitmap(InitialMap); OriginalMap = new Bitmap(InitialMap); FirstInference = true; pbRobot.Location = InitialPos; txtFront.Text = "0"; txtLeft.Text = "0"; txtRight.Text = "0"; txtAngle.Text = "0,00"; }