private void button2_Click(object sender, EventArgs e) { ManagePatient managePatient = new ManagePatient(); managePatient.Show(); this.Hide(); }
private void listView1_DoubleClick(object sender, EventArgs e) { string index = listView1.SelectedItems[0].SubItems[0].Text; ProjectoESGPS.Properties.Settings.Default.SNS = index; ProjectoESGPS.Properties.Settings.Default.Save(); ManagePatient managePatient = new ManagePatient(); managePatient.Show(); this.Hide(); }