CyManager/UFDestinesDJ.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 Common;
using BLL;
namespace CyManager
{
public partial class UFDestinesDJ : Form
{
string rtName;
string tName;
public static int formtype;//用于标识窗体在何时显示(0-快捷菜单的"宾客预订",1-预订管理的"增加预订",2-预定管理的"修改预定")
/// <summary>
/// 显示预订信息的事件
/// </summary>
public event Del EveYuDingDestines;
/// <summary>
/// 根据餐台状态改变图片的事件
/// </summary>
public event DelUpdateRoomsImage EveUpdateRoomsImage;
public UFDestinesDJ()
{
InitializeComponent();
}
public UFDestinesDJ(string rtn, string tn)
{
InitializeComponent();
rtName = rtn;
tName = tn;
}
private void btnConfirm_Click(object sender, EventArgs e) //确定
{
if (this.txtCName.Text.Equals(""))
{
MessageBoxNew.Show("请输入宾客姓名!", "温馨提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
else if (this.txtPhone.Text.Equals(""))
{
MessageBoxNew.Show("请输入联系电话!", "温馨提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
else if (this.cboTType.Text.Equals(""))
{
MessageBoxNew.Show("请选择餐台类型!", "温馨提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
else if (this.cboTName.Text.Equals(""))
{
MessageBoxNew.Show("请选择餐台!", "温馨提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
else
{
try {
CDestines cd = new CDestines();
cd.CdCName1 = this.txtCName.Text;//宾客姓名:
cd.CdCLinkphone1 = this.txtPhone.Text;//联系电话:
后面还有 109 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。