Esempio n. 1
0
 public FrmCheckQueryControl(IFrmCheckQuery frmCheckQuery)
 {
     _frmCheckQuery = frmCheckQuery;
     _drugInfo      = YP_Loader.LoadUseDrug();
     _drugDeptList  = YP_Loader.GetAllDrugDept();
     _frmCheckQuery.RefreshDrugInfo(_drugInfo);
 }
 public FrmDispQueryControl(IFrmDispStatQuery frmdispstatquery)
 {
     _frmdispstatquery = frmdispstatquery;
     _dispMaster       = new DataTable();
     _dispMaster.Columns.Add("PRJID", new Int32().GetType());
     _dispMaster.Columns.Add("PRJNAME");
     _dispMaster.Columns.Add("PRJFEE", new Decimal().GetType());
     _dispMaster.Columns.Add("TOTALNUM", new Decimal().GetType());
     _dispMaster.Columns.Add("productname");
     _dispMaster.Columns.Add("spec");
     _dispMaster.PrimaryKey = new DataColumn[] { _dispMaster.Columns["PRJID"] };
     _drugInfo = YP_Loader.LoadUseDrug();
     _frmdispstatquery.RefreshDrugInfo(_drugInfo);
 }