| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <UserControl x:Class="TeamAAS_VP.Views.AddScrewView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
- xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
- xmlns:sys="clr-namespace:System;assembly=mscorlib"
- xmlns:enums="clr-namespace:TeamAAS_VP.Enums"
- xmlns:valRules="clr-namespace:TeamAAS_VP.Identity"
- xmlns:ext="clr-namespace:TeamAAS_VP.Extension"
- xmlns:c="clr-namespace:TeamAAS_VP.ValueConverter"
- xmlns:lex="http://wpflocalizeextension.codeplex.com"
- xmlns:vm="clr-namespace:TeamAAS_VP.ViewModels"
- lex:LocalizeDictionary.DesignCulture="zh-CN"
- lex:ResxLocalizationProvider.DefaultAssembly="TeamAAS-VP"
- lex:ResxLocalizationProvider.DefaultDictionary="Lang"
- mc:Ignorable="d"
- d:Background="White"
- d:Height="500"
- d:Width="800"
- prism:ViewModelLocator.AutoWireViewModel="True"
- FontFamily="{DynamicResource DefaultFont}">
- <Grid Margin="20">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <TextBlock Grid.Row="0"
- Text="请扫描螺丝条码:"
- FontSize="14"
- Margin="0,0,0,10"/>
- <!-- 输入框会自动接收并显示扫码枪的结果 -->
- <TextBox x:Name="BarcodeTextBox"
- Grid.Row="1"
- Height="30"
- FontSize="14"
- Text="{Binding ScrewsizeCode, Mode=TwoWay}"
- Margin="0,0,0,20"/>
- <TextBlock Grid.Row="2"
- Text="请扫描员工工号:"
- FontSize="14"
- Margin="0,0,0,10"/>
- <!-- 输入框会自动接收并显示扫码枪的结果 -->
- <TextBox x:Name="BarcodeTextBox1"
- Grid.Row="3"
- Height="30"
- FontSize="14"
- Text="{Binding UserID, Mode=TwoWay}"
- Margin="0,0,0,20"/>
- <StackPanel Grid.Row="4"
- Orientation="Horizontal"
- HorizontalAlignment="Right">
- <Button x:Name="OkButton"
- Content="确定"
- Width="80"
- Height="30"
- Margin="0,0,10,0"
- Command="{Binding OkCommand}"/>
- <Button x:Name="CancelButton"
- Content="取消"
- Width="80"
- Height="30"
- Command="{Binding CancelCommand}"/>
- </StackPanel>
- </Grid>
- </UserControl>
|