|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <Window x:Class="FryPot_DosingSystem.View.NewFryPotMaterial"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:FryPot_DosingSystem.View"
- xmlns:vw="clr-namespace:FryPot_DosingSystem.ViewModel"
- mc:Ignorable="d"
- Title="NewFryPotMaterial" Height="250" Width="600" WindowStartupLocation="CenterScreen" WindowStyle="None" AllowsTransparency="True">
- <Window.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
- <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </Window.Resources>
- <Window.DataContext>
- <vw:NewFryPotMaterialViewModel/>
- </Window.DataContext>
- <Border x:Name="br" BorderThickness="1" BorderBrush="Aqua">
- <Border.Background>
- <SolidColorBrush Color="#FF0B2F5F"/>
- </Border.Background>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
-
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" >
- <TextBlock Text="名称:" Foreground="#FF2AB2E7" FontSize="18" VerticalAlignment="Center"/>
- <TextBox Text="{Binding MaterialName}" FontSize="18" Width="300" Height="50" />
- </StackPanel>
- <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" >
- <TextBlock Text="编号:" Foreground="#FF2AB2E7" FontSize="18" VerticalAlignment="Center"/>
- <TextBox Text="{Binding Id}" FontSize="18" Width="300" Height="50"/>
- </StackPanel>
- <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" >
- <Button Content="确定" Background="Transparent" Foreground="#FF2AB2E7" FontSize="18" Margin="40,0,20,0" Width="100" Height="50" Command="{Binding ConfimCommand}"/>
- <Button Content="取消" FontSize="18" Margin="40,0,20,0" Width="100" Height="50" Click="Button_Click"/>
- </StackPanel>
- </Grid>
-
- </Border>
- </Window>
|