private void btn_submit_suspect_Click(object sender, EventArgs e) { using (var formOptions = new AddCase()) { formOptions.ShowDialog(this); } }
public void NotifyMe(Dictionary <string, string> suspectDetail) { var temp = AddCase.getData(); dataGridView1.Rows.Add(temp[temp.Count - 1], suspectDetail["firstName"], suspectDetail["lastName"], suspectDetail["gender"], suspectDetail["status"]); suspects.Add(dataGridView1.Rows.Count - 1, suspectDetail); current = dataGridView1.Rows.Count - 1; //officerPictureBox.Image = ImageTools.Base64ToImage(suspectDetail["Image"]); }