Beispiel #1
0
        //查询一个产品记录
        private void queryProduct()
        {
            //QueryProductsForm o = new QueryProductsForm();
            AdvanceProductQuery o = new AdvanceProductQuery();

            o.StartPosition = FormStartPosition.CenterParent;
            if (o.ShowDialog() == DialogResult.OK)
            {
                this.dgv_ProductList.DataSource   = o.m_productList;
                this.ucPaging1.SourceDataGridView = this.dgv_ProductList;
            }
        }
 //查询一个产品记录
 private void queryProduct()
 {
     //QueryProductsForm o = new QueryProductsForm();
     AdvanceProductQuery o = new AdvanceProductQuery();
     o.StartPosition = FormStartPosition.CenterParent;
     if (o.ShowDialog() == DialogResult.OK)
     {
         this.dgv_ProductList.DataSource = o.m_productList;
         this.ucPaging1.SourceDataGridView = this.dgv_ProductList;
     }
 }