private void metroButtonViewAll_Click(object sender, EventArgs e) { var a = u.viewAllPatients(); BindingSource bi = new BindingSource(); bi.DataSource = a; ViewAll v = new ViewAll(); v.changeValues(bi, "Patients", "Patients"); v.Show(); }
private void metroButtonViewAll_Click(object sender, EventArgs e) { var a = u.viewAllPatients(); BindingSource bi = new BindingSource(); bi.DataSource = a; ViewAll v = new ViewAll(); v.changeValues(bi, "Patients", "Patients"); v.Show(); }