本文整理汇总了C#中BLL.ReceiveDoc.VitalReport方法的典型用法代码示例。如果您正苦于以下问题:C# ReceiveDoc.VitalReport方法的具体用法?C# ReceiveDoc.VitalReport怎么用?C# ReceiveDoc.VitalReport使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BLL.ReceiveDoc
的用法示例。
在下文中一共展示了ReceiveDoc.VitalReport方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: LadVitalItemReport
private void LadVitalItemReport()
{
VitalReport vitalReport = new VitalReport(CurrentContext.LoggedInUserName);
var x = new ReceiveDoc();
DataView dv = new DataView(x.VitalReport(Convert.ToInt32(cbYear.SelectedItem),
Convert.ToInt32(cbMonth.SelectedIndex + 1),
Convert.ToInt32(cbToYear.SelectedItem),
Convert.ToInt32(cbToMonth.SelectedIndex + 1),
Convert.ToInt32(lkMode.EditValue), CurrentContext.UserId, Convert.ToInt32(lkCategories.EditValue)));
vitalReport.DataSource = dv;
vitalReport.xrAccount.Text = string.Format("{0}", lkMode.Text);
vitalReport.xrCategory.Text = string.Format("{0}", lkCategories.Text);
vitalReport.xrFromDate.Text = string.Format("{0} {1}", cbMonth.SelectedItem, cbYear.SelectedItem);
vitalReport.xrToDate.Text = string.Format("{0} {1}", cbToMonth.SelectedItem, cbToYear.SelectedItem);
printControl1.PrintingSystem = vitalReport.PrintingSystem;
report = vitalReport;
vitalReport.CreateDocument();
}