private void ReturnBookButton_Click(object sender, EventArgs e)
        {
            // Instantiate a new Window

            ReturnBooks returnbooks = new ReturnBooks();

            // When the Manage Books form closes, Bring the Main window Back
            returnbooks.FormClosed += SubMenuForm_FormClosed;

            // Hide this form and Show the Manage Books Form
            this.Hide();
            returnbooks.Show();
        }
示例#2
0
        private void returnBooksToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ReturnBooks returnBooks = new ReturnBooks();

            returnBooks.Show();
        }