private void editarpac(object sender, EventArgs e) { bool which = true; CadastroPaciente editpac = new CadastroPaciente(which); editpac.Show(); }
private void cadpac(object sender, EventArgs e) { bool which = false; CadastroPaciente cadpac = new CadastroPaciente(which); cadpac.Show(); }
public void again(object sender, EventArgs e) { this.Hide(); bool which = false; CadastroPaciente again = new CadastroPaciente(which); again.ShowDialog(); this.Close(); }