private void Chenge_end_city_Click(object sender, EventArgs e) { Chenge_start_city.BackgroundImage = Properties.Resources.ВыборКода3; //--------------------------------------------------- Cities Cities = new Cities(); Cities.add_in_other_forms_Btn_visible = true; Cities.ShowDialog(); if (Cities.change_check == true) { number_selected_city_end = Convert.ToInt32(Cities.Id_for_); Position_end_Box.Text = Cities.City_name; } else { number_selected_city_end = 0; } //--------------------------------------------------- Chenge_start_city.BackgroundImage = Properties.Resources.ВыборКода2; }