private void button2_Click(object sender, EventArgs e) { this.Visible = false; NewPatient newPatient_form = new NewPatient(); newPatient_form.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { NewPatient new_patient = new NewPatient(); this.first_name = new_patient.User_first; this.last_name = new_patient.User_last; Console.WriteLine(full_name); Process.Start(@"C:\Users\uta\Desktop\BMI\BMI\bin\Debug\Patients Data\" + full_name + ".txt"); }