예제 #1
0
 private void btnDelete_Click(object sender, EventArgs e)
 {
     BLReminder.DeleteReminder(rem);
     this.rem = null;
     UCReminders.GetInstance().UpdateCurrentPage();
     UCReminders.GetInstance().RefreshPage();
 }
예제 #2
0
 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();
 }
예제 #3
0
        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;
        }