终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
2.5 KiB

  1. <Window x:Class="FryPot_DosingSystem.View.NewFryPotMaterial"
  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:local="clr-namespace:FryPot_DosingSystem.View"
  7. xmlns:vw="clr-namespace:FryPot_DosingSystem.ViewModel"
  8. mc:Ignorable="d"
  9. Title="NewFryPotMaterial" 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. <vw:NewFryPotMaterialViewModel/>
  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. <RowDefinition/>
  30. </Grid.RowDefinitions>
  31. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" >
  32. <TextBlock Text="名称:" Foreground="#FF2AB2E7" FontSize="18" VerticalAlignment="Center"/>
  33. <TextBox Text="{Binding MaterialName}" FontSize="18" Width="300" Height="50" />
  34. </StackPanel>
  35. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" >
  36. <TextBlock Text="编号:" Foreground="#FF2AB2E7" FontSize="18" VerticalAlignment="Center"/>
  37. <TextBox Text="{Binding Id}" FontSize="18" Width="300" Height="50"/>
  38. </StackPanel>
  39. <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" >
  40. <Button Content="确定" Background="Transparent" Foreground="#FF2AB2E7" FontSize="18" Margin="40,0,20,0" Width="100" Height="50" Command="{Binding ConfimCommand}"/>
  41. <Button Content="取消" FontSize="18" Margin="40,0,20,0" Width="100" Height="50" Click="Button_Click"/>
  42. </StackPanel>
  43. </Grid>
  44. </Border>
  45. </Window>