Exemple #1
0
        private void AddMissionButton_Click(object sender, EventArgs e)
        {
            MissionEntry ent = new MissionEntry();

            ent.groupBox1.Text = "Mission " + (FlowMission.Controls.Count + 1);
            FlowMission.Controls.Add(ent);
        }
Exemple #2
0
        private void UpdateParameters()
        {
            FlowMission.Controls.Clear();
            int i = 1;

            foreach (Mission.MissionData miss in mission)
            {
                MissionEntry ent = new MissionEntry();
                ent.groupBox1.Text = "Mission " + i++;
                ent.SetMissionData(miss);
                FlowMission.Controls.Add(ent);
            }
        }