Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Start of window content -->
- <!-- Content from toskerscorner.wordpress.com -->
- <Grid Background="LightBlue">
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <StackPanel Background="Coral" Grid.ColumnSpan="5">
- <TextBlock Style="{StaticResource TitleBlock}">Toskers Vending</TextBlock>
- </StackPanel>
- <ListView Style="{StaticResource VendingList}" Grid.Row="1" Grid.ColumnSpan="3" Grid.RowSpan="4">
- <ListView.ItemTemplate>
- <DataTemplate>
- <DockPanel>
- <Button Style="{StaticResource VendingButton}" DockPanel.Dock="Left">
- Purchase
- </Button>
- <StackPanel DockPanel.Dock="Right">
- <TextBlock Style="{StaticResource CustomerLabel}">Title here</TextBlock>
- <TextBlock Style="{StaticResource CustomerLabel}">Price here</TextBlock>
- <TextBlock Foreground="Red" Visibility="Hidden">Out of Stock!</TextBlock>
- </StackPanel>
- </DockPanel>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- <Button Style="{StaticResource MoneyButton}" Grid.Row="5">
- $0.25
- </Button>
- <Button Style="{StaticResource MoneyButton}" Grid.Row="5" Grid.Column="1">
- $0.50
- </Button>
- <Button Style="{StaticResource MoneyButton}" Grid.Row="5" Grid.Column="2">
- $0.75
- </Button>
- <StackPanel Grid.Row="6" Grid.ColumnSpan="3">
- <TextBlock Style="{StaticResource CustomerLabel}">
- Inserted: $0.00
- </TextBlock>
- <TextBlock Style="{StaticResource CustomerLabel}">
- Change: $0.00
- </TextBlock>
- </StackPanel>
- <DockPanel Margin="5" Grid.Row="1" Grid.Column="3" Grid.ColumnSpan="2" Grid.RowSpan="3" Background="BlanchedAlmond">
- <TextBlock DockPanel.Dock="Top" FontSize="28" Style="{StaticResource CustomerLabel}" HorizontalAlignment="Center">Inventory</TextBlock>
- <StackPanel DockPanel.Dock="Bottom">
- <TextBlock Margin="5" Style="{StaticResource CustomerLabel}" FontSize="16">
- Regular Cola: 0
- </TextBlock>
- <TextBlock Margin="5" Style="{StaticResource CustomerLabel}" FontSize="16">
- Diet Cola: 0
- </TextBlock>
- <TextBlock Margin="5" Style="{StaticResource CustomerLabel}" FontSize="16">
- Orange Cola: 0
- </TextBlock>
- <TextBlock Margin="5" Style="{StaticResource CustomerLabel}" FontSize="16">
- Grape Cola: 0
- </TextBlock>
- </StackPanel>
- </DockPanel>
- <StackPanel Grid.Row="4" Grid.Column="3" Grid.ColumnSpan="2" Grid.RowSpan="3" Background="DarkKhaki">
- <TextBlock DockPanel.Dock="Top" FontSize="28" Style="{StaticResource CustomerLabel}" HorizontalAlignment="Center">Manager</TextBlock>
- <Button Style="{StaticResource ManagerButton}">
- Refill Supply
- </Button>
- <Button Style="{StaticResource ManagerButton}">
- Empty Supply
- </Button>
- <Button Style="{StaticResource ManagerButton}">
- Withdraw Payment
- </Button>
- </StackPanel>
- </Grid>
- <!-- End of window content -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement