private void DeleteBtn3_Click(object sender, RoutedEventArgs e) { conn.Execute("delete from Course where Cno = ?", CourseItem.Cno.Substring(4)); CouViewModel.CourseDatas.Remove(CourseItem); DeleteDialog3.Hide(); PopupNotice popupNotice = new PopupNotice("删除成功"); popupNotice.ShowAPopup(); }
private void CCloseBtn_Click(object sender, RoutedEventArgs e) { DeleteDialog3.Hide(); }