예제 #1
0
        public PickRobotForm(List <RobotPreset> items)
        {
            InitializeComponent();

            for (int i = 0; i < items.Count; i++)
            {
                comboBox1.Items.Add(PickRobotForm.GetRobotPresetName(items[i]));
            }

            robotPresets = items;
        }
예제 #2
0
 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
 {
     this.labelNameInfo.Text = PickRobotForm.GetRobotPresetName(robotPresets[comboBox1.SelectedIndex]);
 }