Commit b567dbbd authored by Ian Slater's avatar Ian Slater
Browse files

asdf

parent 74a86a62
......@@ -7,6 +7,6 @@
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<local:OrderControl/>
<local:OrderControl Name="Item Menu"/>
</Grid>
</Window>
......@@ -20,7 +20,7 @@
</Grid.ColumnDefinitions>
<StackPanel>
<TextBlock TextAlignment="Center">Enrees</TextBlock>
<Button Name="AngryChickenButton">Angry Chicken</Button>
<Button Name="AngryChickenButton" Click="AngryChickenButton_Click">Angry Chicken</Button>
<Button Name="CowpokeChiliButton">CowPoke Chili</Button>
<Button Name="DakotaDoubleButton">Dakto Double</Button>
<Button Name="PecosPulledPorkButton">Pecos Pulled Pork</Button>
......
using System;
using CowboyCafe.Data;
using System.Collections.Generic;
using System.Text;
using System.Windows;
......@@ -22,5 +23,10 @@ namespace PointOfSale
{
InitializeComponent();
}
private void AngryChickenButton_Click(object sender, RoutedEventArgs e)
{
ticket.Items.Add(new AngryChicken().ToString());
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment