示例#1
0
        private void editorDeArpegiosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ArpeggioEditor editor = FormFactory.CreateOrActivateFormOfType <ArpeggioEditor>();

            editor.FormClosed -= new FormClosedEventHandler(arpeggioEditorClosed);
            editor.FormClosed += new FormClosedEventHandler(arpeggioEditorClosed);
            editor.CurrentSong = this.currentSong;
        }
示例#2
0
        private void arpeggioEditorClosed(object sender, FormClosedEventArgs e)
        {
            ArpeggioEditor editor = sender as ArpeggioEditor;

            if (editor != null)
            {
                editor.FormClosed -= new FormClosedEventHandler(arpeggioEditorClosed);
            }
            this.fillPatternList();
            this.patEditor.Invalidate();
        }