Пример #1
0
        public void PercussionInstrHelpButton_Click(object sender, EventArgs e)
        {
            CloseMIDIInstrumentsHelpForm();
            CloseMIDIPercussionHelpForm();

            if (_percussionInstrHelpForm == null)
            {
                _percussionInstrHelpForm = new MIDIPercussionHelpForm(CloseMIDIPercussionHelpForm);
                _percussionInstrHelpForm.Show();
            }
            _percussionInstrHelpForm.BringToFront();
        }
Пример #2
0
 private void CloseMIDIPercussionHelpForm()
 {
     if(_percussionInstrHelpForm != null)
     {
         _percussionInstrHelpForm.Close();
         _percussionInstrHelpForm.Dispose();
         _percussionInstrHelpForm = null;
     }
 }
Пример #3
0
        public void PercussionInstrHelpButton_Click(object sender, EventArgs e)
        {
            CloseMIDIInstrumentsHelpForm();
            CloseMIDIPercussionHelpForm();

            if(_percussionInstrHelpForm  == null)
            {
                _percussionInstrHelpForm = new MIDIPercussionHelpForm(CloseMIDIPercussionHelpForm);
                _percussionInstrHelpForm.Show();
            }
            _percussionInstrHelpForm.BringToFront();
        }