private void MilkChocolateNext_Click(object sender, EventArgs e) { if (MilkChocolatebox.Text != "") { string menu = MilkchocolateBtn.Text; string jumlah = MilkChocolatebox.Text; string topping = topping7.Text; insert_button(menu, jumlah, topping); topping7.Enabled = false; MilkChocolatebox.Clear(); chocolateCount = 0; } }
private void MilkChocolateNext_Click(object sender, EventArgs e) { if (MilkChocolatebox.Text != "") { string menu = MilkchocolateBtn.Text + " " + comboBox2.Text; string jumlah = MilkChocolatebox.Text; string size = sizeCbox10.Text; string topping = size + " (" + toppingCbox10.Text + ")"; insert_button(menu, jumlah, size, topping); MilkChocolatebox.Clear(); chocolateCount = 0; } }