122 lines
4.4 KiB
XML
122 lines
4.4 KiB
XML
<Window x:Class="UI_1_Basics.MainWindow"
|
|
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"
|
|
mc:Ignorable="d"
|
|
WindowStartupLocation="CenterScreen"
|
|
Title="MainWindow" Height="750" Width="400">
|
|
<Border Padding="10">
|
|
<StackPanel>
|
|
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Button Grid.Column="0" Margin="0 0 10 0">Apply</Button>
|
|
<Button Grid.Column="1" Margin="10 0">Reset</Button>
|
|
<Button Grid.Column="2" Margin="10 0 0 0">Refresh</Button>
|
|
</Grid>
|
|
|
|
<TextBlock Text="Plus Properties" FontWeight="Bold" Margin="0 10" />
|
|
|
|
<!-- Description -->
|
|
<StackPanel>
|
|
<TextBlock Text="Description" />
|
|
<TextBox Padding="2" />
|
|
</StackPanel>
|
|
|
|
<!-- Status -->
|
|
<Grid Margin="0 5 0 0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="2*" />
|
|
<ColumnDefinition Width="*" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<StackPanel Grid.Column="0" Margin="0 0 10 0">
|
|
<TextBlock Text="Staus" />
|
|
<TextBox />
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Column="1">
|
|
<TextBlock Text="Revision" />
|
|
<TextBox />
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<StackPanel>
|
|
<TextBlock Text="Part Number" />
|
|
<TextBox />
|
|
</StackPanel>
|
|
|
|
<!-- Raw Material -->
|
|
<TextBlock Margin="0,10,0,10" FontWeight="Bold">Raw Material</TextBlock>
|
|
<StackPanel>
|
|
<TextBlock> Material</TextBlock>
|
|
<ComboBox>
|
|
<ComboBoxItem>杀杀杀</ComboBoxItem>
|
|
</ComboBox>
|
|
</StackPanel>
|
|
|
|
<!-- Work Centres -->
|
|
<TextBlock Margin="0 10 0 0 " FontWeight="Bold">Manufacturing Information</TextBlock>
|
|
<TextBlock Margin=" 0 5 0 0">Work Centres</TextBlock>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<StackPanel Grid.Column="0">
|
|
<CheckBox>选项1</CheckBox>
|
|
<CheckBox>选项1</CheckBox>
|
|
<CheckBox>选项1</CheckBox>
|
|
<CheckBox>选项1</CheckBox>
|
|
<CheckBox>选项1</CheckBox>
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Column="1">
|
|
<CheckBox>选项1</CheckBox>
|
|
<CheckBox>选项1</CheckBox>
|
|
<CheckBox>选项1</CheckBox>
|
|
<CheckBox>选项1</CheckBox>
|
|
<CheckBox>选项1</CheckBox>
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<TextBlock Margin="0 10 0 0 ">长度</TextBlock>
|
|
<TextBox />
|
|
|
|
<TextBlock Margin="0 5 0 0 ">Mess</TextBlock>
|
|
<TextBox IsEnabled="False" />
|
|
|
|
<TextBlock Margin="0 5 0 0 ">Finish</TextBlock>
|
|
<ComboBox SelectedIndex="0">
|
|
<ComboBoxItem>选项1</ComboBoxItem>
|
|
<ComboBoxItem>选项2</ComboBoxItem>
|
|
<ComboBoxItem>选项3</ComboBoxItem>
|
|
</ComboBox>
|
|
|
|
<TextBlock Margin="0 5 0 0 ">购买信息</TextBlock>
|
|
<ComboBox SelectedIndex="0">
|
|
<ComboBoxItem>选项1</ComboBoxItem>
|
|
<ComboBoxItem>选项2</ComboBoxItem>
|
|
<ComboBoxItem>选项3</ComboBoxItem>
|
|
</ComboBox>
|
|
|
|
<TextBlock Margin="0 5 0 0 ">Supplier Information</TextBlock>
|
|
<TextBox />
|
|
|
|
<TextBlock Margin="0 5 0 0 ">Supplier Code</TextBlock>
|
|
<TextBox />
|
|
|
|
<TextBlock Margin="0 10 0 0" FontWeight="Bold">Additional Information</TextBlock>
|
|
<TextBlock Margin="0 10 0 0 ">Note</TextBlock>
|
|
<TextBox />
|
|
</StackPanel>
|
|
</Border>
|
|
</Window> |