private static void ShowPatientInfoForm(Patient patient) { Form form = new PatientInfoForm(patient); FormHelper.MoveToCenter(form); form.ShowDialog(); }
private void BtnRegist_Click(object sender, EventArgs e) { Form form = new PatientInfoForm(); FormHelper.MoveToCenter(form); form.ShowDialog(); }