Esempio n. 1
0
 private void profile_dgv_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyData == Keys.Enter)
     {
         try
         {
             Form A = new PersonView(int.Parse(profile_dgv.SelectedRows[0].Cells["profileid"].Value.ToString()), dh);
             A.ShowDialog();
         }
         catch { }
     }
 }
Esempio n. 2
0
        private void profile_dgv_MouseDoubleClick(object sender, EventArgs e)
        {
            Form A = new PersonView(int.Parse(profile_dgv.SelectedRows[0].Cells["profileid"].Value.ToString()), dh);

            A.ShowDialog();
        }
Esempio n. 3
0
        private void openPersonView(int profileID)
        {
            PersonView pv = new PersonView(profileID, dh);

            pv.ShowDialog();
        }