コード例 #1
0
 public void updateQuotation()
 {
     proxyQuotation.setQDate(frmQuotation.PickerQuoatationDate.Value);
     proxyQuotation.setQstatus(frmQuotation.QuoatationStatus.Text);
     if (isQpathChanged)
     {
         proxyQuotation.setQuotationData(General.Rules.fileToBytes(quotationPath));
     }
     proxyQuotation.update(isQpathChanged);
     isQpathChanged = false;
 }
コード例 #2
0
        public void newQuotation()
        {
            proxyQuotation = new ProxyQuotation(frmQuotation.SalesID);
            proxyQuotation.setQDate(frmQuotation.PickerQuoatationDate.Value);
            proxyQuotation.setQstatus(frmQuotation.QuoatationStatus.Text);
            proxyQuotation.setSalesID(frmQuotation.SalesID);
            if (isQpathChanged)
            {
                proxyQuotation.setQuotationData(General.Rules.fileToBytes(quotationPath));

                isQpathChanged = false;
            }


            proxyQuotation.create();
        }