public W60311(string programID, string programName) : base(programID, programName) { InitializeComponent(); GridHelper.SetCommonGrid(gvMain, true, new GridColumn[] { RPTF_KEY }); PrintableComponent = gcMain; this.Text = _ProgramID + "─" + _ProgramName; txtYear.Text = GlobalInfo.OCF_DATE.ToString("yyyy"); dao60310 = new D60310(); daoRPTF = new RPTF(); }
public W60310(string programID, string programName) : base(programID, programName) { InitializeComponent(); this.Text = _ProgramID + "─" + _ProgramName; int weekNow = Convert.ToInt32(GlobalInfo.OCF_DATE.DayOfWeek); weekNow = (weekNow == 0 ? 7 - 1 : weekNow - 1) * -1; //本周第一天(星期一) txtStartDate.DateTimeValue = GlobalInfo.OCF_DATE.AddDays(weekNow); txtEndDate.DateTimeValue = GlobalInfo.OCF_DATE; dao60310 = new D60310(); daoRPTF = new RPTF(); ExportShow.Hide(); }
public Service60310() { dao60310 = new D60310(); daoRPTF = new RPTF(); }