void mnuContextSeen_Click(object sender, EventArgs e) { try { DataOperation.SetIsSeen(true, ref this.movie, picIsSeen, tooltip); } catch (Exception ex) { MessageBox.Show(ex.Message, Messages.MessageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
void mnuContextNotSeen_Click(object sender, EventArgs e) { try { DataOperation.SetIsSeen(false, repMovie, ref this.dataSource); } catch (Exception ex) { MessageBox.Show(ex.Message, Messages.MessageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning); } }