| | |
| | | this.Sub_SaveBill(); |
| | | Display(); |
| | | |
| | | //设置æå°æ¨¡æ¿ï¼æå° |
| | | grdList.Rows[0].Cells[0].Value = "*"; |
| | | Report = new GridppReport(); |
| | | Report.LoadFromFile(DBUtility.ClsPub.AppPath + @"\" + textBox_PrintModelParams.Text + ".grf"); //here . |
| | | Report.BeforePostRecord += new _IGridppReportEvents_BeforePostRecordEventHandler(ReportBeforePostRecord); |
| | | Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable); |
| | | Report.PrintEnd += new _IGridppReportEvents_PrintEndEventHandler(ReportPrintEnd); |
| | | if (comboBox_PrinterParams.Text != "") |
| | | { |
| | | Report.Printer.PrinterName = comboBox_PrinterParams.Text.Replace("(é»è®¤)", ""); |
| | | } |
| | | Report.Print(false); |
| | | |
| | | Display4(); |
| | | } |
| | | //ä¿ååæ® |
| | |
| | | } |
| | | else |
| | | { |
| | | timer3.Enabled = false; |
| | | //timer3.Enabled = false; |
| | | currentRepeatConnectTimes = 0; |
| | | MessageBox.Show("è¿æ¥å·²æå¼ï¼è¯·éæ°è¿æ¥ï¼!"); |
| | | } |