Example #1
0
 private void MilkVanillaNext_Click(object sender, EventArgs e)
 {
     if (MilkVanillabox.Text != "")
     {
         string menu    = MilkVanillaBtn.Text;
         string jumlah  = MilkVanillabox.Text;
         string topping = topping8.Text;
         insert_button(menu, jumlah, topping);
         topping8.Enabled = false;
         MilkVanillabox.Clear();
         vanillaCount = 0;
     }
 }
Example #2
0
        private void MilkVanillaNext_Click(object sender, EventArgs e)
        {
            if (MilkVanillabox.Text != "")
            {
                string menu    = MilkVanillaBtn.Text + " " + comboBox3.Text;
                string jumlah  = MilkVanillabox.Text;
                string size    = sizeCbox11.Text;
                string topping = size + " (" + toppingCbox11.Text + ")";

                insert_button(menu, jumlah, size, topping);
                MilkVanillabox.Clear();
                vanillaCount = 0;
            }
        }