Beispiel #1
0
        private void UCJuice_JuiceSelected(object sender, UCJuice.JuiceSelectedEventArgs e)
        {
            int _orderidid = Dao.OrderLine.GetMaxKey(); //orderlineID

            MessageBox.Show(_orderidid.ToString());
            movesidepanel(btnJuice);
            UCJuiceOption uCJuiceOption = new UCJuiceOption(_orderidid);

            uCJuiceOption.ReturnJuiceMenu += UCJuiceOption_ReturnJuiceMenu;
            addUC(uCJuiceOption);
        }
        private void UCJuice_JuiceSelected(object sender, UCJuice.JuiceSelectedEventArgs e)
        {
            int _orderidid = Dao.OrderLine.GetMaxKey(); //orderlineID

            movesidepanel(btnJuice);
            UCJuiceOption uCJuiceOption = new UCJuiceOption(_orderidid);

            uCJuiceOption.juiceForm = uCJuice;

            addUC(uCJuiceOption);
            uCJuiceOption.ReturnJuiceMenu += UCJuiceOption_ReturnJuiceMenu;
        }