Exemplo n.º 1
0
        private void LabAllBody_Click(object sender, EventArgs e)
        {
            this.Visible       = false;
            this.ShowInTaskbar = false;
            FormForExercisecs legs = new FormForExercisecs();

            legs.LoadInfo(6, "все тело");
            legs.Show();
        }
Exemplo n.º 2
0
        private void labPress_Click(object sender, EventArgs e)
        {
            this.Visible       = false;
            this.ShowInTaskbar = false;
            FormForExercisecs legs = new FormForExercisecs();

            legs.LoadInfo(5, "пресс");
            legs.Show();
        }
Exemplo n.º 3
0
        private void labChest_Click(object sender, EventArgs e)
        {
            this.Visible       = false;
            this.ShowInTaskbar = false;
            FormForExercisecs legs = new FormForExercisecs();

            legs.LoadInfo(1, "грудь");
            legs.Show();
        }
Exemplo n.º 4
0
        private void labBack_Click(object sender, EventArgs e)
        {
            this.Visible       = false;
            this.ShowInTaskbar = false;
            FormForExercisecs legs = new FormForExercisecs();

            legs.LoadInfo(2, "спину");
            legs.Show();
        }
Exemplo n.º 5
0
        private void labLegs_Click(object sender, EventArgs e)
        {
            this.Close();
            GC.Collect();
            FormForExercisecs legs = new FormForExercisecs();

            legs.LoadInfo(3, "ноги"); // передача параметров в метод на форму для подгрузки нужных упражнений
            legs.Show();
        }