Exemplo n.º 1
0
        private void Form_Load(object sender, EventArgs e)
        {
            POPControl pdControl = new POPControl();
            DataTable  dt        = pdControl.GetAll(ref sErr);

            //dgvFilter.MasterGridViewTemplate.AutoGenerateColumns = false;
            LoadDataGrid(dt);
            flag = false;
            //dgvFilter.CurrentRow = null;
        }
Exemplo n.º 2
0
        private void btnReresh_Click(object sender, EventArgs e)
        {
            POPControl pdControl = new POPControl();
            DataTable  dt        = pdControl.GetAll(ref sErr);

            //dgvFilter.MasterGridViewTemplate.AutoGenerateColumns = false;
            dgvPOPView.DataSource = dt;
            //dgvPOPView.AutoSizeColumns();
            SaveLayout();
            flag = false;
            //dgvFilter.CurrentRow = null;
        }