终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

48 строки
2.5 KiB

  1. <Window x:Class="FryPot_DosingSystem.View.CopyInfoView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:vm="clr-namespace:FryPot_DosingSystem.ViewModel"
  7. xmlns:local="clr-namespace:FryPot_DosingSystem.View"
  8. mc:Ignorable="d"
  9. Title="CopyInfoView" Height="250" Width="600" WindowStartupLocation="CenterScreen" WindowStyle="None" AllowsTransparency="True">
  10. <Window.Resources>
  11. <ResourceDictionary>
  12. <ResourceDictionary.MergedDictionaries>
  13. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
  14. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
  15. </ResourceDictionary.MergedDictionaries>
  16. </ResourceDictionary>
  17. </Window.Resources>
  18. <Window.DataContext>
  19. <vm:CopyInfoViewModel/>
  20. </Window.DataContext>
  21. <Border x:Name="br" BorderThickness="1" BorderBrush="Aqua">
  22. <Border.Background>
  23. <SolidColorBrush Color="#FF0B2F5F"/>
  24. </Border.Background>
  25. <Grid>
  26. <Grid.RowDefinitions>
  27. <RowDefinition/>
  28. <RowDefinition/>
  29. </Grid.RowDefinitions>
  30. <!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" >
  31. <TextBlock Text="名称:" Foreground="#FF2AB2E7" FontSize="18" VerticalAlignment="Center"/>
  32. <TextBox Text="{Binding MaterialName}" FontSize="18" Width="300" Height="50" />
  33. </StackPanel>-->
  34. <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center" >
  35. <TextBlock Text="炒锅编号:" Foreground="#FF2AB2E7" FontSize="18" VerticalAlignment="Center"/>
  36. <TextBox Text="{Binding FryNum}" FontSize="18" Width="300" Height="50"/>
  37. </StackPanel>
  38. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" >
  39. <Button Content="确定" Background="Transparent" Foreground="#FF2AB2E7" FontSize="18" Margin="40,0,20,0" Width="100" Height="50" Command="{Binding ConfimCommand}"/>
  40. <Button Content="取消" FontSize="18" Margin="40,0,20,0" Width="100" Height="50" Click="Button_Click"/>
  41. </StackPanel>
  42. </Grid>
  43. </Border>
  44. </Window>