Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            VUMeter meter = new VUMeter();

            meter.ButtonId         = int.Parse(comboBox4.SelectedItem.ToString());
            meter.OutputDeviceName = comboBox3.SelectedItem.ToString();
            toProcess.Add(meter);
            Save();
        }
Пример #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            wrk.RunWorkerAsync();
            foreach (Camera cam in CameraService.AvailableCameras)
            {
                comboBox1.Items.Add(cam.Name);
            }
            for (int x = 0; x <= 14; x++)
            {
                comboBox2.Items.Add(x.ToString());
                comboBox4.Items.Add(x.ToString());
                comboBox6.Items.Add(x.ToString());
                comboBox8.Items.Add(x.ToString());
            }
            comboBox3.Items.AddRange(VUMeter.GetDeviceList().ToArray());

            comboBox5.Items.AddRange(InputMeter.GetDeviceList().ToArray());
        }