Exemple #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            InputMeter meter = new InputMeter();

            meter.ButtonId         = int.Parse(comboBox6.SelectedItem.ToString());
            meter.OutputDeviceName = comboBox5.SelectedItem.ToString();
            toProcess.Add(meter);
            Save();
        }
Exemple #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());
        }