private void btnChangeSong_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; string[] key = btnChangeSong.Tag.ToString().Split(';'); fNewSong f = new fNewSong(this.utl, false, key, RU); f.ShowDialog(); f = null; utl.init_Tree(ref tvSong, FormView.Песни_Ноты.ToString()); richTbPrv.Clear(); Cursor.Current = Cursors.Default; }
private void btnAddNewSong_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; string[] key = null; // nothing if new song fNewSong f = new fNewSong(this.utl, true, key, RU); f.ShowDialog(); f = null; utl.init_Tree(ref tvSong, FormView.Песни_Ноты.ToString()); richTbPrv.Clear(); Cursor.Current = Cursors.Default; }