Exemplo n.º 1
0
        private void BTN_WAGONS_Click(object sender, EventArgs e)
        {
            BTN_WAGONS.BackgroundImage = Properties.Resources.Вагон3;
            //-----------------------------------------------------------------
            Wagons Wagons = new Wagons();

            Wagons.ShowDialog();
            //-----------------------------------------------------------------
            BTN_WAGONS.BackgroundImage = Properties.Resources.Вагон2;
        }
Exemplo n.º 2
0
        private void number_selected_type_wagon1_Click(object sender, EventArgs e)
        {
            Wagons Wagons = new Wagons();

            Wagons.add_in_other_forms_Btn_visible = true;
            Wagons.ShowDialog();

            if (Wagons.change_check == true)
            {
                number_selected_type_wagon_1 = Convert.ToInt32(Wagons.Id_for_);
                Type_wagon_box1.Text         = Wagons.Wagon_name.ToString();
            }
            else
            {
                number_selected_type_wagon_1 = 0;
            }
        }