private void addBookBtn_Click(object sender, EventArgs e) { Hide(); using (AddDelBook adddelbook = new AddDelBook()) adddelbook.ShowDialog(); Show(); }