Exemplo n.º 1
0
        /// <summary>
        /// The Button3_Click
        /// </summary>
        /// <param name="sender">The <see cref="object"/></param>
        /// <param name="e">The <see cref="EventArgs"/></param>
        private void Button3_Click(object sender, EventArgs e)
        {
            Product    box1 = new Box("Extra mix Box", "IMAGE", "DESCT", 1, 32.99m);
            OnlyAmount om   = new OnlyAmount(box1);

            om.Show();
        }
Exemplo n.º 2
0
        /// <summary>
        /// The Button2_Click
        /// </summary>
        /// <param name="sender">The <see cref="object"/></param>
        /// <param name="e">The <see cref="EventArgs"/></param>
        private void Button2_Click(object sender, EventArgs e)
        {
            Product    hambucheeseburgerrger = new Burger("Cheeseburger", "IMAGE", "DESCT", 1, 8.99m);
            OnlyAmount om = new OnlyAmount(hambucheeseburgerrger);

            om.Show();
        }
Exemplo n.º 3
0
        /// <summary>
        /// The Button2_Click
        /// </summary>
        /// <param name="sender">The <see cref="object"/></param>
        /// <param name="e">The <see cref="EventArgs"/></param>
        private void Button2_Click(object sender, EventArgs e)
        {
            Product    box1 = new Box("Nuget Box", "IMAGE", "DESCT", 1, 24.99m);
            OnlyAmount om   = new OnlyAmount(box1);

            om.Show();
        }
Exemplo n.º 4
0
        /// <summary>
        /// The Button1_Click
        /// </summary>
        /// <param name="sender">The <see cref="object"/></param>
        /// <param name="e">The <see cref="System.EventArgs"/></param>
        private void Button1_Click(object sender, System.EventArgs e)
        {
            Product    wiesmac = new Burger("WiesMac", "IMAGE", "DESCT", 1, 12.99m);
            OnlyAmount om      = new OnlyAmount(wiesmac);

            om.Show();
        }