Exemplo n.º 1
0
        public ucOrderTakeOut1(mPOSControl x, String row, String fooid, String qty, ref Order1 ord, ref List <OrderSpecial> lords, ref List <OrderTopping> lordt, FrmTakeOut4 frmtakeout4
                               , List <NoodleMake> lnooNoodle, List <NoodleMake> lnooWater, List <NoodleMake> lnooOptNoodle, List <NoodleMake> lnooNoodleMeatBall, List <NoodleMake> lnooNoodleSea
                               , List <NoodleMake> lnooNoodleMeat, List <NoodleMake> lnooNoodleVagetable)
        {
            InitializeComponent();
            mposC = x;
            //fooName = foodsname;
            this.qty = qty;
            //this.price = price;
            this.row         = row;
            this.fooid       = fooid;
            this.ord         = ord;
            this.frmtakeout4 = frmtakeout4;
            this.lordt       = lordt;
            this.lords       = lords;

            this.lnooNoodle          = lnooNoodle;
            this.lnooWater           = lnooWater;
            this.lnooOptNoodle       = lnooOptNoodle;
            this.lnooNoodleMeatBall  = lnooNoodleMeatBall;
            this.lnooNoodleSea       = lnooNoodleSea;
            this.lnooNoodleMeat      = lnooNoodleMeat;
            this.lnooNoodleVagetable = lnooNoodleVagetable;
            initConfig();
        }
Exemplo n.º 2
0
        private void BtnTakeOut_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
            FrmTakeOut4 frm = new FrmTakeOut4(mposC, this);

            this.Hide();
            frm.Show(this);
        }
Exemplo n.º 3
0
        private void opennew()
        {
            //vlcControl1.Stop();
            //new LogFile("w FrmToGo2 opennew 111");
            FrmWaiting frmW = new FrmWaiting();

            frmW.Show();
            //new LogFile("w FrmToGo2 FrmWaiting");
            //FrmTakeOut2 frm = new FrmTakeOut2(mposC, this);
            //FrmTakeOut3 frm = new FrmTakeOut3(mposC, this);
            FrmTakeOut4 frm = new FrmTakeOut4(mposC, this);

            frmW.Dispose();
            frm.ShowDialog(this);
            //vlcControl1.Play();
        }