private void frmBestPictures_Load(object sender, EventArgs e) { try { dgvBestPictures.DataSource = movie.GetBestPictures(); lblResult.Text = movie.LastError; } catch (Exception ex) { MessageBox.Show(ex.Message, "Error"); } }