private void CS1() { if (firstyear == "0" || endyear == "0") { MsgBox.Show("请设置历史数据起始年结束年后再点参数设置"); return; } FormForecastCalc1 fc = new FormForecastCalc1(); fc.DTable = dataTable; fc.ISEdit = EditRight; fc.PForecastReports = forecastReport; if (fc.ShowDialog() != DialogResult.OK) { return; } JS(); }
private void CS1() { if (firstyear == "0" || endyear == "0") { MsgBox.Show("��������ʷ������ʼ���������ٵ��������"); return; } FormForecastCalc1 fc = new FormForecastCalc1(); fc.DTable = dataTable; fc.ISEdit = EditRight; fc.PForecastReports = forecastReport; if (fc.ShowDialog() != DialogResult.OK) return; JS(); }