Esempio n. 1
0
        //查询记录
        private void queryMaterail()
        {
            //QueryMaterailForm o = new QueryMaterailForm();
            AdvanceQuery o = new AdvanceQuery();

            o.StartPosition = FormStartPosition.CenterParent;
            if (o.ShowDialog() == DialogResult.OK)
            {
                this.dgv_MaterailList.DataSource  = o.m_dt;
                this.ucPaging1.SourceDataGridView = this.dgv_MaterailList;
            }
        }
Esempio n. 2
0
 //查询记录
 private void queryMaterail()
 {
     //QueryMaterailForm o = new QueryMaterailForm();
     AdvanceQuery o = new AdvanceQuery();
     o.StartPosition = FormStartPosition.CenterParent;
     if (o.ShowDialog() == DialogResult.OK)
     {
         this.dgv_MaterailList.DataSource = o.m_dt;
         this.ucPaging1.SourceDataGridView = this.dgv_MaterailList;
     }
 }