chr
2024-08-20 b62a2f5ad99995ec01da71b9f93be7284023171b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<UserControl x:Class="PdmSwPlugin.PropertySetting.Panel.StandardModulePanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d" 
             x:Name="self"
             VerticalContentAlignment="Stretch"
             d:DesignHeight="900" d:DesignWidth="800" Background="#FFF">
 
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/PdmSwPlugin.Common;component/Style/ToolBar.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
 
    <StackPanel>
        <StackPanel x:Name="materialCodePanel">
            <Label Content="物料编码"/>
            <TextBox  x:Name="materialCodeText" Text="{Binding materialCode,UpdateSourceTrigger=PropertyChanged}"/>
        </StackPanel>
 
        <StackPanel x:Name="materialNamePanel">
            <Label Content="物料名称"/>
            <TextBox x:Name="materialNameText" Text="{Binding materialName,UpdateSourceTrigger=PropertyChanged}"/>
        </StackPanel>
 
        <StackPanel>
            <Label Content="型号"/>
            <TextBox Text="{Binding materialModel,UpdateSourceTrigger=PropertyChanged}"/>
        </StackPanel>
 
        <StackPanel>
            <Label Content="品牌"/>
            <TextBox Text="{Binding brand,UpdateSourceTrigger=PropertyChanged}"/>
        </StackPanel>
 
        <StackPanel x:Name="weightPanel">
            <Label Content="重量(kg)"/>
            <TextBox IsEnabled="False" x:Name="weightText" Text="{Binding weight,UpdateSourceTrigger=PropertyChanged}"/>
        </StackPanel>
 
        <StackPanel x:Name="createUserPanel">
            <Label Content="设计人员"/>
            <TextBox x:Name="createUserText" Text="{Binding designer,UpdateSourceTrigger=PropertyChanged}" />
        </StackPanel>
 
        <StackPanel>
            <Label Content="版本号"/>
            <TextBox Text="{Binding version,UpdateSourceTrigger=PropertyChanged}"/>
        </StackPanel>
 
        <StackPanel x:Name="remarkPanel">
            <Label Content="备注"/>
            <TextBox x:Name="remarkText" Text="{Binding remark,UpdateSourceTrigger=PropertyChanged}"/>
        </StackPanel>
    </StackPanel>
</UserControl>