private void btnDelete_Click(object sender, EventArgs e) { BLReminder.DeleteReminder(rem); this.rem = null; UCReminders.GetInstance().UpdateCurrentPage(); UCReminders.GetInstance().RefreshPage(); }
private void btnDelete_Click(object sender, EventArgs e) { BLIO.Log("Delete button clicked on reminder item (" + rem.Id + ")"); BLReminder.DeleteReminder(rem); this.Reminder = null; UCReminders.Instance.UpdateCurrentPage(); }
private void btnDelete_Click(object sender, EventArgs e) { BLIO.Log("Delete button clicked on reminder item (" + rem.Id + ")"); BLReminder.DeleteReminder(rem); Reminder copy = new Reminder(); // copy.Id = rem.Id; copy.Deleted = rem.Deleted; copy.HttpId = rem.HttpId; this.Reminder = null; MUCReminders.Instance.UpdateCurrentPage(copy); copy = null; }