CyManager/UFOpenBill.cs

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using Common;
using BLL;

namespace CyManager
{
    public partial class UFOpenBill : Form
    {
        string rtName;
        string tName;
        public static string RoomsType = "==包间==";//存储餐台类型
        public static string ZuiDiXiaoFei = "0.00";//存储餐台最低消费
        public static int formType;//用于标识窗体在何时显示
        string zdId;//存储自动产生的开单编号

        public UFOpenBill()
        {
            InitializeComponent();
        }
        public UFOpenBill(string rtn,string ttn)
        {
            InitializeComponent();
            rtName = rtn;
            tName = ttn;
        }

        /// <summary>
        /// 更改餐台图片的事件
        /// </summary>
        public event DelUpdateRoomsImage EveUpdateRoomsImage;

        /// <summary>
        /// 刷新预定信息的事件
        /// </summary>
        public event Del EveGetYuDing;
        /// <summary>
        /// 窗体加载
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void UOpenBill_Load(object sender, EventArgs e)
        {
            try
            {
                zdId = BLLBillConsume.BLLBillConsumeGetZdId();//获得自动产生的编号
            }
            catch (Exception)
            {
                MessageBoxNew.Show("产生编号失败!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            if (UFOpenBill.formType == 0 || UFOpenBill.formType == 2)
            {
                this.lblRoomsName.Text = Zhu.lvSelect.Text;
后面还有 138 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。