private void btnAddNewBook_Click(object sender, EventArgs e) { if (ob_FrmAddNewBook == null || ob_FrmAddNewBook.IsDisposed) { ob_FrmAddNewBook = new FrmAddNewBook(); ob_FrmAddNewBook.Show(); } else { ob_FrmAddNewBook.Activate(); } }