상속: AddObjectParams.FrmAdvanceQuery
예제 #1
0
        //查询一个产品记录
        private void queryProduct()
        {
            // QueryPartsForm o = new QueryPartsForm();
            AdvancePartsQuery o = new AdvancePartsQuery();

            o.StartPosition = FormStartPosition.CenterParent;
            if (o.ShowDialog() == DialogResult.OK)
            {
                this.dgv_ProductList.DataSource   = o.m_partsList;
                this.ucPaging1.SourceDataGridView = this.dgv_ProductList;
            }
        }
예제 #2
0
 //查询一个产品记录
 private void queryProduct()
 {
     // QueryPartsForm o = new QueryPartsForm();
     AdvancePartsQuery o = new AdvancePartsQuery();
     o.StartPosition = FormStartPosition.CenterParent;
     if (o.ShowDialog() == DialogResult.OK)
     {
         this.dgv_ProductList.DataSource = o.m_partsList;
         this.ucPaging1.SourceDataGridView = this.dgv_ProductList;
     }
 }