private void Atualizar() { ServiçoExibir ExibSegMoto = new ServiçoExibir(); dataGridSegMoto.DataSource = ExibSegMoto.ExibirSegMoto(); dataGridSegMoto.Columns[0].Width = 70; dataGridSegMoto.Columns[1].Width = 80; dataGridSegMoto.Columns[2].Width = 95; dataGridSegMoto.Columns[3].Width = 80; dataGridSegMoto.Columns[4].Width = 80; }
private void btnExibListaSegMoto_Click(object sender, EventArgs e) { ServiçoExibir ExibSegMoto = new ServiçoExibir(); dataGridSegMoto.DataSource = ExibSegMoto.ExibirSegMoto(); }