Esempio n. 1
0
        //private void cmdCancel_Click(object sender, EventArgs e) {
        //  Close();
        //  P.F.Panic();
        //}

        //private void cmdSetPlayLoC_Click(object sender, EventArgs e) {
        //  if (lblNoteName.Text == "???") return;
        //  SelectCmbItem(cmbPlayLoC, lblNoteName.Text);
        //}

        //private void cmdSetLowShowC_Click(object sender, EventArgs e) {
        //  if (lblNoteName.Text == "???") return;
        //  SelectCmbItem(cmbLowShowC, lblNoteName.Text);
        //}

        private int GetSelectedMidi(ComboBox cmb)
        {
            string[] f = ((string)cmb.SelectedItem).Split(new char[] { ' ' });
            return(NoteName.NoteNameAndOctaveToMidi(f[0]));
        }