Пример #1
0
        private void UCDessert_DessertSelected(object sender, UCDessert.DessertSelectedEventArgs e)
        {
            int _orderidid = Dao.OrderLine.GetMaxKey(); //orderlineID

            MessageBox.Show(_orderidid.ToString());
            movesidepanel(btnDessert);
            UCDessertOption uCDessertOption = new UCDessertOption(_orderidid); //orderlineid넘겨줌

            addUC(uCDessertOption);
            uCDessertOption.ReturnDessertMenu += UCDessertOption_ReturnDessertMenu;
        }
Пример #2
0
        private void UCDessert_DessertSelected(object sender, UCDessert.DessertSelectedEventArgs e)
        {
            int _orderidid = Dao.OrderLine.GetMaxKey(); //orderlineID

            movesidepanel(btnDessert);
            uCDessertOption = new UCDessertOption(_orderidid); //orderlineid넘겨줌

            uCDessertOption.dessertForm = uCDessert;

            addUC(uCDessertOption);
            uCDessertOption.ReturnDessertMenu += UCDessertOption_ReturnDessertMenu;
        }