|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <Window x:Class="FryPot_DosingSystem.View.CopyInfoView"
- 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:vm="clr-namespace:FryPot_DosingSystem.ViewModel"
- xmlns:local="clr-namespace:FryPot_DosingSystem.View"
- mc:Ignorable="d"
- Title="CopyInfoView" 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>
- <vm:CopyInfoViewModel/>
- </Window.DataContext>
- <Border x:Name="br" BorderThickness="1" BorderBrush="Aqua">
- <Border.Background>
- <SolidColorBrush Color="#FF0B2F5F"/>
- </Border.Background>
- <Grid>
- <Grid.RowDefinitions>
- <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="0" Orientation="Horizontal" HorizontalAlignment="Center" >
- <TextBlock Text="炒锅编号:" Foreground="#FF2AB2E7" FontSize="18" VerticalAlignment="Center"/>
- <TextBox Text="{Binding FryNum}" FontSize="18" Width="300" Height="50"/>
- </StackPanel>
- <StackPanel Grid.Row="1" 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>
|