private void button2_Click(object sender, EventArgs e) { if (comboBox1.SelectedIndex < 0 || comboBox1.SelectedIndex >= projects.Count) { return; } if (comboBox2.SelectedIndex < 0 || comboBox2.SelectedIndex >= trackers.Count) { return; } if (string.IsNullOrWhiteSpace(textBox1.Text)) { return; } if (string.IsNullOrWhiteSpace(IssueTitleText.Text)) { return; } projidPipe = proj_indexes[comboBox1.SelectedIndex]; trackidPipe = trac_indexes[comboBox1.SelectedIndex]; CurrentJob = JOb.addissue; panel2.Visible = true; panel2.BackgroundImage = voice2redmine.Properties.Resources._20091123familyguy; backgroundWorker1.RunWorkerAsync(); }
private void button1_Click(object sender, EventArgs e) { CurrentJob = JOb.recognise2; panel2.Visible = true; panel2.BackgroundImage = voice2redmine.Properties.Resources._20091123familyguy; backgroundWorker1.RunWorkerAsync(); }
private void IssueTitleRecButton_Click(object sender, EventArgs e) { CurrentJob = JOb.recognise1; panel2.Visible = true; panel2.BackgroundImage = voice2redmine.Properties.Resources._20091123familyguy; backgroundWorker1.RunWorkerAsync(); }
private void button2_Click(object sender, EventArgs e) { if (comboBox1.SelectedIndex < 0 || comboBox1.SelectedIndex >= projects.Count) return; if (comboBox2.SelectedIndex < 0 || comboBox2.SelectedIndex >= trackers.Count) return; if (string.IsNullOrWhiteSpace(textBox1.Text)) return; if (string.IsNullOrWhiteSpace(IssueTitleText.Text)) return; projidPipe = proj_indexes[comboBox1.SelectedIndex]; trackidPipe = trac_indexes[comboBox1.SelectedIndex]; CurrentJob = JOb.addissue; panel2.Visible = true; panel2.BackgroundImage = voice2redmine.Properties.Resources._20091123familyguy; backgroundWorker1.RunWorkerAsync(); }