forked from ksu-cis/bleakwind-buffet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f78e44f
commit 05ab0d7
Showing
56 changed files
with
2,405 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<Application x:Class="PointOfSale.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:PointOfSale" | ||
StartupUri="MainWindow.xaml"> | ||
<Application.Resources> | ||
|
||
</Application.Resources> | ||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Configuration; | ||
using System.Data; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
using System.Windows; | ||
|
||
namespace PointOfSale | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Windows; | ||
|
||
[assembly: ThemeInfo( | ||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located | ||
//(used if a resource is not found in the page, | ||
// or application resource dictionaries) | ||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located | ||
//(used if a resource is not found in the page, | ||
// app, or any theme specific resource dictionaries) | ||
)] |
41 changes: 41 additions & 0 deletions
41
PointOfSale/CustomizeDrinks/CustomizeAretinoAppleJuice.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<UserControl x:Class="PointOfSale.CustomizeDrinks.CustomizeAretinoAppleJuice" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:local="clr-namespace:PointOfSale.CustomizeDrinks" | ||
mc:Ignorable="d" | ||
d:DesignHeight="450" d:DesignWidth="800"> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition/> | ||
<RowDefinition Height="3*"/> | ||
<RowDefinition/> | ||
</Grid.RowDefinitions> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition/> | ||
<ColumnDefinition/> | ||
<ColumnDefinition/> | ||
</Grid.ColumnDefinitions> | ||
|
||
|
||
<StackPanel Grid.Row="1"> | ||
<Label HorizontalAlignment="Center" FontSize="16">Select a Size:</Label> | ||
|
||
<ListBox SelectionMode="Single" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" FontSize="16"> | ||
<RadioButton GroupName="Size" IsChecked="True">Small</RadioButton> | ||
<RadioButton GroupName="Size">Medium</RadioButton> | ||
<RadioButton GroupName="Size">Large</RadioButton> | ||
</ListBox> | ||
|
||
<Label/> | ||
<Label HorizontalAlignment="Center" FontSize="16">Special Instructions:</Label> | ||
<ListBox Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" FontSize="16"> | ||
<CheckBox IsChecked="False">Ice</CheckBox> | ||
</ListBox> | ||
</StackPanel> | ||
|
||
<Button Click="ClickDone" Grid.Row="2" Grid.Column="2" FontSize="20">Done</Button> | ||
<Label Grid.ColumnSpan="3" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="20">Customize Aretino Apple Juice</Label> | ||
</Grid> | ||
</UserControl> |
38 changes: 38 additions & 0 deletions
38
PointOfSale/CustomizeDrinks/CustomizeAretinoAppleJuice.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Author: Matthew Schwartz | ||
* Class name: CustomizeAretinoAppleJuice.xaml.cs | ||
* Purpose: Initializes the customization view for aretino apple juice and allows navigation back to the select drinks view | ||
*/ | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
using System.Windows.Data; | ||
using System.Windows.Documents; | ||
using System.Windows.Input; | ||
using System.Windows.Media; | ||
using System.Windows.Media.Imaging; | ||
using System.Windows.Navigation; | ||
using System.Windows.Shapes; | ||
|
||
namespace PointOfSale.CustomizeDrinks | ||
{ | ||
/// <summary> | ||
/// Interaction logic for CustomizeAretinoAppleJuice.xaml | ||
/// </summary> | ||
public partial class CustomizeAretinoAppleJuice : UserControl | ||
{ | ||
public CustomizeAretinoAppleJuice() | ||
{ | ||
InitializeComponent(); | ||
} | ||
void ClickDone(object sender, RoutedEventArgs e) | ||
{ | ||
SelectDrinks custom = new SelectDrinks(); | ||
OrderComponent order = this.FindAncestor<OrderComponent>(); | ||
order.Swap(custom); | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
PointOfSale/CustomizeDrinks/CustomizeCandlehearthCoffee.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<UserControl x:Class="PointOfSale.CustomizeDrinks.CustomizeCandlehearthCoffee" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:local="clr-namespace:PointOfSale.CustomizeDrinks" | ||
mc:Ignorable="d" | ||
d:DesignHeight="450" d:DesignWidth="800"> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition/> | ||
<RowDefinition Height="3*"/> | ||
<RowDefinition/> | ||
</Grid.RowDefinitions> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition/> | ||
<ColumnDefinition/> | ||
<ColumnDefinition/> | ||
</Grid.ColumnDefinitions> | ||
|
||
|
||
<StackPanel Grid.Row="1"> | ||
<Label HorizontalAlignment="Center" FontSize="16">Select a Size:</Label> | ||
|
||
<ListBox SelectionMode="Single" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" FontSize="16"> | ||
<RadioButton GroupName="Size" IsChecked="True">Small</RadioButton> | ||
<RadioButton GroupName="Size">Medium</RadioButton> | ||
<RadioButton GroupName="Size">Large</RadioButton> | ||
</ListBox> | ||
|
||
<Label/> | ||
<Label HorizontalAlignment="Center" FontSize="16">Special Instructions:</Label> | ||
<ListBox Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" FontSize="16"> | ||
<CheckBox IsChecked="False">Ice</CheckBox> | ||
<CheckBox IsChecked="False">Cream</CheckBox> | ||
<CheckBox IsChecked="False">Decaf</CheckBox> | ||
</ListBox> | ||
</StackPanel> | ||
|
||
<Button Click="ClickDone" Grid.Row="2" Grid.Column="2" FontSize="20">Done</Button> | ||
<Label Grid.ColumnSpan="3" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="20">Customize Candlehearth Coffee</Label> | ||
</Grid> | ||
</UserControl> |
38 changes: 38 additions & 0 deletions
38
PointOfSale/CustomizeDrinks/CustomizeCandlehearthCoffee.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Author: Matthew Schwartz | ||
* Class name: CustomizeCandlehearthCoffee.xaml.cs | ||
* Purpose: Initializes the customization view for candlehearth coffee and allows navigation back to the select drinks view | ||
*/ | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
using System.Windows.Data; | ||
using System.Windows.Documents; | ||
using System.Windows.Input; | ||
using System.Windows.Media; | ||
using System.Windows.Media.Imaging; | ||
using System.Windows.Navigation; | ||
using System.Windows.Shapes; | ||
|
||
namespace PointOfSale.CustomizeDrinks | ||
{ | ||
/// <summary> | ||
/// Interaction logic for CustomizeCandlehearthCoffee.xaml | ||
/// </summary> | ||
public partial class CustomizeCandlehearthCoffee : UserControl | ||
{ | ||
public CustomizeCandlehearthCoffee() | ||
{ | ||
InitializeComponent(); | ||
} | ||
void ClickDone(object sender, RoutedEventArgs e) | ||
{ | ||
SelectDrinks custom = new SelectDrinks(); | ||
OrderComponent order = this.FindAncestor<OrderComponent>(); | ||
order.Swap(custom); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<UserControl x:Class="PointOfSale.CustomizeDrinks.CustomizeMarkarthMilk" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:local="clr-namespace:PointOfSale.CustomizeDrinks" | ||
mc:Ignorable="d" | ||
d:DesignHeight="450" d:DesignWidth="800"> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition/> | ||
<RowDefinition Height="3*"/> | ||
<RowDefinition/> | ||
</Grid.RowDefinitions> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition/> | ||
<ColumnDefinition/> | ||
<ColumnDefinition/> | ||
</Grid.ColumnDefinitions> | ||
|
||
|
||
<StackPanel Grid.Row="1"> | ||
<Label HorizontalAlignment="Center" FontSize="16">Select a Size:</Label> | ||
|
||
<ListBox SelectionMode="Single" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" FontSize="16"> | ||
<RadioButton GroupName="Size" IsChecked="True">Small</RadioButton> | ||
<RadioButton GroupName="Size">Medium</RadioButton> | ||
<RadioButton GroupName="Size">Large</RadioButton> | ||
</ListBox> | ||
|
||
<Label/> | ||
<Label HorizontalAlignment="Center" FontSize="16">Special Instructions:</Label> | ||
<ListBox Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" FontSize="16"> | ||
<CheckBox IsChecked="False">Ice</CheckBox> | ||
</ListBox> | ||
</StackPanel> | ||
|
||
<Button Click="ClickDone" Grid.Row="2" Grid.Column="2" FontSize="20">Done</Button> | ||
<Label Grid.ColumnSpan="3" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="20">Customize Candlehearth Coffee</Label> | ||
</Grid> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Author: Matthew Schwartz | ||
* Class name: CustomizeMarkarthMilk.xaml.cs | ||
* Purpose: Initializes the customization view for markarth milk and allows navigation back to the select drinks view | ||
*/ | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
using System.Windows.Data; | ||
using System.Windows.Documents; | ||
using System.Windows.Input; | ||
using System.Windows.Media; | ||
using System.Windows.Media.Imaging; | ||
using System.Windows.Navigation; | ||
using System.Windows.Shapes; | ||
|
||
namespace PointOfSale.CustomizeDrinks | ||
{ | ||
/// <summary> | ||
/// Interaction logic for CustomizeMarkarthMilk.xaml | ||
/// </summary> | ||
public partial class CustomizeMarkarthMilk : UserControl | ||
{ | ||
public CustomizeMarkarthMilk() | ||
{ | ||
InitializeComponent(); | ||
} | ||
void ClickDone(object sender, RoutedEventArgs e) | ||
{ | ||
SelectDrinks custom = new SelectDrinks(); | ||
OrderComponent order = this.FindAncestor<OrderComponent>(); | ||
order.Swap(custom); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<UserControl x:Class="PointOfSale.CustomizeDrinks.CustomizeSailorSoda" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:local="clr-namespace:PointOfSale.CustomizeEntrees" | ||
mc:Ignorable="d" | ||
d:DesignHeight="450" d:DesignWidth="800"> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition/> | ||
<RowDefinition Height="3*"/> | ||
<RowDefinition/> | ||
</Grid.RowDefinitions> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition/> | ||
<ColumnDefinition/> | ||
<ColumnDefinition/> | ||
</Grid.ColumnDefinitions> | ||
<StackPanel Grid.Row="1"> | ||
<Label HorizontalAlignment="Center" FontSize="16">Select a Flavor:</Label> | ||
<ListBox FontSize="16"> | ||
<RadioButton GroupName="Flavor">Blackberry</RadioButton> | ||
<RadioButton GroupName="Flavor">Cherry</RadioButton> | ||
<RadioButton GroupName="Flavor">Grapefruit</RadioButton> | ||
<RadioButton GroupName="Flavor">Lemon</RadioButton> | ||
<RadioButton GroupName="Flavor">Peach</RadioButton> | ||
<RadioButton GroupName="Flavor">Watermelon</RadioButton> | ||
</ListBox> | ||
|
||
</StackPanel> | ||
|
||
<StackPanel Grid.Row="1" Grid.Column="1"> | ||
<Label HorizontalAlignment="Center" FontSize="16">Select a Size:</Label> | ||
|
||
<ListBox SelectionMode="Single" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" FontSize="16"> | ||
<RadioButton GroupName="Size" IsChecked="True">Small</RadioButton> | ||
<RadioButton GroupName="Size">Medium</RadioButton> | ||
<RadioButton GroupName="Size">Large</RadioButton> | ||
</ListBox> | ||
|
||
<Label/> | ||
<Label HorizontalAlignment="Center" FontSize="16">Special Instructions: </Label> | ||
<ListBox Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" FontSize="16"> | ||
<CheckBox IsChecked="True">Ice</CheckBox> | ||
</ListBox> | ||
</StackPanel> | ||
|
||
<Button Click="ClickDone" Grid.Row="2" Grid.Column="2" FontSize="20">Done</Button> | ||
<Label Grid.ColumnSpan="3" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="20">Customize Sailor Soda</Label> | ||
</Grid> | ||
</UserControl> |
Oops, something went wrong.