Exemplo n.º 1
0
 public void ShowPaletteChordForm(int midiChordIndex)
 {
     if (M.HasError(_allTextBoxes))
     {
         MessageBox.Show("Can't create a palette chord form because this palette contains errors.");
     }
     else
     {
         _paletteChordForm = new PaletteChordForm(this, _bcc, midiChordIndex, _fsf);
         _paletteChordForm.Show();
         _hostForm.SetAllFormsExceptChordFormEnabledState(false);
         BringPaletteChordFormToFront();
     }
 }
Exemplo n.º 2
0
 public void ShowPaletteChordForm(int midiChordIndex)
 {
     if(M.HasError(_allTextBoxes))
     {
         MessageBox.Show("Can't create a palette chord form because this palette contains errors.");
     }
     else
     {
         _paletteChordForm = new PaletteChordForm(this, _bcc, midiChordIndex, _fsf);
         _paletteChordForm.Show();
         _hostForm.SetAllFormsExceptChordFormEnabledState(false);
         BringPaletteChordFormToFront();
     }
 }