Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="Cooksim.ProduceShop"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="ProduceShop" Height="300" Width="300">
- <Grid>
- <ListBox x:Name ="produceListBox" HorizontalAlignment="Left" Height="270" VerticalAlignment="Top" Width="142" SelectionChanged="produceListBox_SelectionChanged" ItemsSource="{Binding vegShopList }"/>
- <Button x:Name="buyButton" Content="Buy" HorizontalAlignment="Left" Margin="217,248,0,0" VerticalAlignment="Top" Width="75" Click="buyButton_Click"/>
- <Label x:Name ="costLabel" Content="Cost" HorizontalAlignment="Left" Margin="147,10,0,0" VerticalAlignment="Top"/>
- <Label x:Name="moneyLabel" Content="{Binding Path=Money, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Left" Margin="147,246,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.184,0"/>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement