private void registerNewCaseButton_Click(object sender, EventArgs e) { //create and open the form RegisterNewCaseForm CaseForm caseForm = new CaseForm(); caseForm.Show(); }
public void viewRecord(int id) { //create and open the form RegisterNewCaseForm CaseForm caseForm = new CaseForm(id); caseForm.Show(); }