终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

40 regels
1.8 KiB

  1. <UserControl x:Class="BPASmartClient.MorkTSingle.View.DebugView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:vm="clr-namespace:BPASmartClient.MorkTSingle.ViewModel"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <UserControl.DataContext>
  10. <vm:DebugViewModel/>
  11. </UserControl.DataContext>
  12. <UserControl.Resources>
  13. <ResourceDictionary>
  14. <ResourceDictionary.MergedDictionaries>
  15. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
  16. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
  17. </ResourceDictionary.MergedDictionaries>
  18. </ResourceDictionary>
  19. </UserControl.Resources>
  20. <Grid>
  21. <Grid.ColumnDefinitions>
  22. <ColumnDefinition Width="10*"/>
  23. <ColumnDefinition Width="10*"/>
  24. </Grid.ColumnDefinitions>
  25. <Grid.RowDefinitions>
  26. <RowDefinition Height="10*"/>
  27. <RowDefinition Height="10*"/>
  28. <RowDefinition Height="15*"/>
  29. </Grid.RowDefinitions>
  30. <StackPanel Orientation="Horizontal">
  31. <TextBlock>咖啡:</TextBlock>
  32. <ComboBox Margin="10,0"
  33. Width="100"
  34. ItemsSource="{Binding Coffees}"
  35. SelectedItem="{Binding SimOrderCoffeeList}" />
  36. <Button Command="{Binding SimOrderMakeCoffee}">制作</Button>
  37. </StackPanel>
  38. </Grid>
  39. </UserControl>