Example #1
0
 /// <summary>
 /// Right Click -> Add
 /// Adds selected Film to the user's film library.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void addToListToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         Film cFilm = (Film)dgvOFilms.CurrentRow.DataBoundItem;
         form.addFilm(cFilm);
     }
     catch (NullReferenceException) { }
 }
Example #2
0
 private void addBtn_Click(object sender, EventArgs e)
 {
     form.addFilm(film);
     this.Close();
 }