示例#1
0
文件: Author.cs 项目: mezeus/IPCAXprs
        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();
            }
        }