using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Cindy_Restaurant.Forms
{
    public partial class frmTheTables : Form
    {
        public frmTheTables()
        {
            InitializeComponent();
        }

        public string empID, receiptType;
        private void frmTheTables_Load(object sender, EventArgs e)
        {

        }

        private void btn1_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn1.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn2_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn2.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn3_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn3.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn4_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn4.Text.ToString();
            frm1.ShowDialog();

        }

        private void btn5_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn5.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn6_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn6.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn7_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn7.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn8_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn8.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn9_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn9.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn10_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn10.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn11_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();

            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn11.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn12_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn12.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn13_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn13.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn14_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn14.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn15_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn15.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn16_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn16.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn17_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn17.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn18_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn19.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn19_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn19.Text.ToString();
            frm1.ShowDialog();
        }

        private void btn20_Click(object sender, EventArgs e)
        {
            orderInfo frm1 = new orderInfo();
            frm1.txtReceiptType.Text = receiptType;
            frm1.txtWaiterName.Text = empID.Trim();
            frm1.txtTableNo.Text = this.btn20.Text.ToString();
            frm1.ShowDialog();
        }
    }
}
