📄 printprint.aspx.cs
字号:
//文件名:PrintPrint.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class RoomManage_PrintPrint : System.Web.UI.Page
{
private RoomManage_PrintForm MyPrintForm;
protected void Page_Load(object sender, EventArgs e)
{
MyPrintForm = (RoomManage_PrintForm)Context.Handler;
this.Label1.Text = Session["MyCompanyName"].ToString() + "离店结账单";
this.Label2.Text = "结账编号:" + MyPrintForm.MyPrint结账编号;
this.Label3.Text = "操作人员:" + Session["MyUserName"].ToString();
this.Label5.Text = "入住房号:" + MyPrintForm.MyPrint入住房号;
this.Label6.Text = "客人姓名:" + MyPrintForm.MyPrint客人姓名;
this.Label7.Text = "入住编号:" + MyPrintForm.MyPrint入住编号;
this.Label8.Text = "入住日期:" + MyPrintForm.MyPrint入住日期;
this.Label9.Text = "结账日期:" + MyPrintForm.MyPrint结账日期;
this.Label10.Text = "打印日期:" + DateTime.Now.ToShortDateString();
double My费用金额 = Convert.ToDouble(MyPrintForm.MyPrint预收押金) + Convert.ToDouble(MyPrintForm.MyPrint结账金额);
this.Label11.Text = "费用金额:" + My费用金额.ToString() + "元";
this.Label12.Text = "预收押金:" + MyPrintForm.MyPrint预收押金 + "元";
this.Label13.Text = "结账金额:" + MyPrintForm.MyPrint结账金额 + "元";
this.Label14.Text = MyPrintForm.MyPrint店内消费 + "元";
this.Label15.Text = MyPrintForm.MyPrint住宿费 + "元";
this.Label16.Text = MyPrintForm.MyPrint电话费 + "元";
this.Label17.Text = MyPrintForm.MyPrint用餐费 + "元";
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -