Exemplo n.º 1
0
 private void ViewContent(object sender, EventArgs e)
 {
     var emailData = dataGridView.SelectedRows[0].DataBoundItem as EmailData;
     if (emailData != null)
     {
         var newEmailData = new EmailDataForm(emailData.Id, currentUser);
         var result = newEmailData.ShowDialog();
     }
 }
Exemplo n.º 2
0
        private void ViewContent(object sender, EventArgs e)
        {
            var emailData = dataGridView.SelectedRows[0].DataBoundItem as EmailData;

            if (emailData != null)
            {
                var newEmailData = new EmailDataForm(emailData.Id, currentUser);
                var result       = newEmailData.ShowDialog();
            }
        }