Ejemplo n.º 1
0
        private void ButtonEdit_Click(object sender, EventArgs e)
        {
            Book     myBook = (Book)listBooks.SelectedItem;
            formEdit myForm = new formEdit(myBook, "edit", cwid);

            if (myForm.ShowDialog() == DialogResult.OK)
            {
            }
            else
            {
                LoadList();
            }
        }
Ejemplo n.º 2
0
        private void ButtonNew_Click(object sender, EventArgs e)
        {
            Book     myBook = new Book();
            formEdit myForm = new formEdit(myBook, "new", cwid);

            if (myForm.ShowDialog() == DialogResult.OK)
            {
            }
            else
            {
                LoadList();
            }
        }