Exemple #1
0
        private void dvPerpetrators_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            perpetratorDetailsFrm perpetratorDetailsFrm = new perpetratorDetailsFrm();

            perpetratorDetailsFrm.passPetratorID = Convert.ToInt64(dvPerpetrators.SelectedRows[0].Cells[0].Value);
            perpetratorDetailsFrm.ShowDialog();
        }
Exemple #2
0
 private void viewPerpetDetails_Click(object sender, EventArgs e)
 {
     if (Convert.ToInt64(perpetratorIDtb.Text) == 0 || string.IsNullOrWhiteSpace(perpetratorIDtb.Text))
     {
     }
     else
     {
         perpetratorDetailsFrm perpetratorDetFrm = new perpetratorDetailsFrm();
         perpetratorDetFrm.passPetratorID = Convert.ToInt64(perpetratorIDtb.Text);
         perpetratorDetFrm.ShowDialog();
         garCol.FlushMemory();
     }
 }