示例#1
0
        private void button3_Click(object sender, EventArgs e)
        {
            WeekPlan wp = new WeekPlan(new User());

            wp.ShowDialog();
            RefreshGoals();
        }
示例#2
0
        private void button8_Click(object sender, EventArgs e)
        {
            user = new User(fname, lname, gender, age, weight, height);
            this.Hide();
            Form f = new WeekPlan(user);

            f.ShowDialog();
        }