private void Edit_Click(object sender, EventArgs e) { bool val = false; ApplicationForm profile = new ApplicationForm(val, Results.SelectedRows[0].Cells[0].Value.ToString()); profile.Show(); }
private void button2_Click(object sender, EventArgs e) { ApplicationForm add = new ApplicationForm(); add.Show(); }