示例#1
0
        public frmExportador(string texto)
        {
            InitializeComponent();
            lblTexto.Text = texto;
            DataTable dt;
            DataTable dtxml;
            DataSet   ds     = new DataSet();
            DALBysoft acesso = new DALBysoft();

            dataGridexportador.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            dataGridexportador.AutoSizeRowsMode    = DataGridViewAutoSizeRowsMode.None;
            dt = acesso.GetExportadorBysoft();
            dataGridexportador.DataSource = dt;
        }
示例#2
0
        public frmArmazem(string texto)
        {
            InitializeComponent();
            lblTexto.Text = texto;
            DataTable dt;
            DataTable dtxml;
            DataSet   ds     = new DataSet();
            DALBysoft acesso = new DALBysoft();

            dt = acesso.GetDestino();
            dataGridViewDestino.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            dataGridViewDestino.AutoSizeRowsMode    = DataGridViewAutoSizeRowsMode.None;
            dataGridViewDestino.DataSource          = dt;
        }
示例#3
0
        public frmCliente(string texto)
        {
            InitializeComponent();
            lblTexto.Text = texto;
            DataTable dt;
            DataTable dtxml;
            DataSet   ds = new DataSet();
            //DAL acesso = new DAL();
            DALBysoft acesso = new DALBysoft();


            dt = acesso.GetClienteBysoft();
            dataGridViewCliente.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            dataGridViewCliente.AutoSizeRowsMode    = DataGridViewAutoSizeRowsMode.None;
            dataGridViewCliente.DataSource          = dt;
        }
示例#4
0
        public frmSecundaria(string texto)
        {
            InitializeComponent();
            //lblTexto.Text = texto;
            DataTable dt;
            DataTable dtxml;
            DataSet   ds = new DataSet();
            //DAL acesso = new DAL();
            DALBysoft acesso = new DALBysoft();


            dt = acesso.GetRegistromasterBysoft();
            dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            dataGridView.AutoSizeRowsMode    = DataGridViewAutoSizeRowsMode.None;
            dataGridView.DataSource          = dt;
        }