コード例 #1
0
        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;
        }
コード例 #2
0
        private void btnExibListaSegMoto_Click(object sender, EventArgs e)
        {
            ServiçoExibir ExibSegMoto = new ServiçoExibir();

            dataGridSegMoto.DataSource = ExibSegMoto.ExibirSegMoto();
        }