コード例 #1
0
ファイル: OrderForm.cs プロジェクト: SieonLee/CafeKiosk
        private void UCCoffee_CoffeeSelected(object sender, UCCoffee.CoffeeSelectedEventArgs e)
        {
            int _orderidid = Dao.OrderLine.GetMaxKey(); //orderlineID

            MessageBox.Show(_orderidid.ToString());
            movesidepanel(btnCoffee);
            UCCoffeeOption uCCoffeeOption = new UCCoffeeOption(_orderidid); //orderlineid넘겨줌

            addUC(uCCoffeeOption);
            uCCoffeeOption.ReturnCoffeeMenu += UCCoffeeOption_ReturnCoffeeMenu;
        }
コード例 #2
0
        private void UCCoffee_CoffeeSelected(object sender, UCCoffee.CoffeeSelectedEventArgs e)
        {
            int _orderidid = Dao.OrderLine.GetMaxKey(); //orderlineID

            movesidepanel(btnCoffee);
            uCCoffeeOption = new UCCoffeeOption(_orderidid); //orderlineid넘겨줌

            uCCoffeeOption.coffeeForm = uCCoffee;

            addUC(uCCoffeeOption);
            uCCoffeeOption.ReturnCoffeeMenu += UCCoffeeOption_ReturnCoffeeMenu;
        }