示例#1
0
        private void ShowUpdateButton()
        {
            BookList SelectedBook = (BookList)BookListBox.SelectedItem;

            UpdateForm = new RegistForm(SelectedBook);

            UpdateForm.HideRegistButton();
            UpdateForm.ShowDialog();
            ModifyBookList();
        }
示例#2
0
        private void ShowNewRegistForm()
        {
            NewRegistForm = new RegistForm();

            NewRegistForm.HideUpdateButton();
            NewRegistForm.ShowDialog();
            ModifyBookList();
        }