Example #1
0
        private void btnEditMusic_Click(object sender, EventArgs e)
        {
            SongEditorForm songEditor = new SongEditorForm(proj.currentSong);

            if (songEditor.ShowDialog() == DialogResult.OK)
            {
                proj.RefreshData();
                songPreviewControl1.RefreshData();
                proj.RefreshUI();
            }
        }
Example #2
0
 private void editToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (currentSong != null)
     {
         SongEditorForm songEditor = new SongEditorForm(currentSong);
         if (songEditor.ShowDialog() == DialogResult.OK) // TODO: in the future improve this: non-modal
         {
             g.Refresh();
         }
     }
 }