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; }
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; }