Esempio n. 1
0
        private void CreateLibrary(object sender, EventArgs e)
        {
            LibraryMaintenance dlg = new LibraryMaintenance();

            dlg.ShowDialog();
            LoadLibraryList();
            EnableButtons(sender, e);
        }
Esempio n. 2
0
        private void EditLibrary(object sender, EventArgs e)
        {
            var lastSubItem        = LibraryList.SelectedItems[0].SubItems.Count - 1;
            var LibraryId          = int.Parse(LibraryList.SelectedItems[0].SubItems[lastSubItem].Text);
            LibraryMaintenance dlg = new LibraryMaintenance(LibraryId, SongSelect.Modes.Edit);

            dlg.ShowDialog();
            LoadLibraryList();
            EnableButtons(sender, e);
        }