private void btnDelete_Click(object sender, EventArgs e) { bool isDelete = objaut.DeleteAuthorMasterDetails(AuthorId); if (isDelete) { MessageBox.Show("Delete Successfully!"); ClearControls(); AuthorId = 0; Administration.List.AuthorList frmList = new Administration.List.AuthorList(); frmList.StartPosition = FormStartPosition.CenterScreen; frmList.ShowDialog(); FillAuthorInfo(); tbxName.Focus(); } }