This commit is contained in:
gongxh
2022-05-30 10:39:14 +08:00
parent 2a334e7d75
commit 507bde6bed
8 changed files with 104 additions and 74 deletions

View File

@@ -27,8 +27,9 @@ namespace CleanMachineHMI.FrmUserControl
InitializeComponent();
this.SetFormControlText();
this.kryptonDataGridView1.AutoGenerateColumns = false;
this.kdtp_CreateEndTime.Value = DateTime.Today;
this.kdtp_CreateStartTime.Value = DateTime.Today;
this.kdtp_CreateEndTime.Value =DateTime.Today.EndOfTheWeek() ;
this.kdtp_CreateStartTime.Value = DateTime.Today.StartOfTheWeek();
}
@@ -116,7 +117,7 @@ namespace CleanMachineHMI.FrmUserControl
FastReport.Report report = new FastReport.Report();
report.Load("ReportMd\\operatorReport.frx");
report.RegisterData(list, "datas");
//report.Design();
// report.Design();
report.PrintSettings.ShowDialog = false;
report.Prepare();
report.Print();
@@ -127,6 +128,11 @@ namespace CleanMachineHMI.FrmUserControl
}
}
private void tableLayoutPanel2_Paint(object sender, PaintEventArgs e)
{
}
}
}