|
|
@ -0,0 +1,81 @@ |
|
|
|
|
|
|
|
<Window x:Class="XamlUISample.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" |
|
|
|
|
|
|
|
xmlns:local="clr-namespace:XamlUISample" |
|
|
|
|
|
|
|
mc:Ignorable="d" |
|
|
|
|
|
|
|
Title="MainWindow" Height="550" Width="400"> |
|
|
|
|
|
|
|
<Border Padding="10"> |
|
|
|
|
|
|
|
<StackPanel> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="Pulse Properties" FontWeight="Bold" Margin="0 10 0 0"/> |
|
|
|
|
|
|
|
<TextBlock Text="Description" FontWeight="Light" Margin="0 10 0 0"/> |
|
|
|
|
|
|
|
<TextBox Padding="2"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid> |
|
|
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<ColumnDefinition Width="2*"/> |
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/> |
|
|
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="0" Margin="0 10 5 0"> |
|
|
|
|
|
|
|
<TextBlock Text="Status"/> |
|
|
|
|
|
|
|
<TextBox Padding="2" IsReadOnly="True" Background="#eeeeee"/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<StackPanel Grid.Column="1" Margin="5 10 0 0"> |
|
|
|
|
|
|
|
<TextBlock Text="Revision"/> |
|
|
|
|
|
|
|
<TextBox Padding="2" IsReadOnly="True" Background="#eeeeee"/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="PartNumber" FontWeight="Light" Margin="0"/> |
|
|
|
|
|
|
|
<TextBox Padding="2" IsReadOnly="True" Background="#eeeeee"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="Raw Materials" FontWeight="Bold" Margin="0 10 0 0"/> |
|
|
|
|
|
|
|
<TextBlock Text="Materials" FontWeight="Light" Margin="0 10 0 0"/> |
|
|
|
|
|
|
|
<ComboBox Padding="2"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="Manufacturing Information" FontWeight="Bold" Margin="0 10 0 0"/> |
|
|
|
|
|
|
|
<TextBlock Text="Work Centers" FontWeight="Light" Margin="0 10 0 0"/> |
|
|
|
|
|
|
|
<Grid> |
|
|
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/> |
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/> |
|
|
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<StackPanel Grid.Column="0"> |
|
|
|
|
|
|
|
<CheckBox Content="Weld"/> |
|
|
|
|
|
|
|
<CheckBox Content="Assembly"/> |
|
|
|
|
|
|
|
<CheckBox Content="Plasma"/> |
|
|
|
|
|
|
|
<CheckBox Content="Laser"/> |
|
|
|
|
|
|
|
<CheckBox Content="Purchase"/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<StackPanel Grid.Column="1"> |
|
|
|
|
|
|
|
<CheckBox Content="Weld"/> |
|
|
|
|
|
|
|
<CheckBox Content="Assembly"/> |
|
|
|
|
|
|
|
<CheckBox Content="Plasma"/> |
|
|
|
|
|
|
|
<CheckBox Content="Laser"/> |
|
|
|
|
|
|
|
<CheckBox Content="Purchase"/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="Finish" FontWeight="Light" Margin="0 10 0 0"/> |
|
|
|
|
|
|
|
<ComboBox Padding="2" SelectedIndex="0"> |
|
|
|
|
|
|
|
<ComboBoxItem Content="Painted"/> |
|
|
|
|
|
|
|
<ComboBoxItem Content="No painted"/> |
|
|
|
|
|
|
|
</ComboBox> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid Margin="0 30 0 0"> |
|
|
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/> |
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/> |
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/> |
|
|
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<Button x:Name="btnApply" Grid.Column="0" Content="Apply" Margin="5"/> |
|
|
|
|
|
|
|
<Button x:Name="btnReset" Grid.Column="1" Content="Reset" Margin="5"/> |
|
|
|
|
|
|
|
<Button x:Name="btnRefresh" Grid.Column="2" Content="Refresh" Margin="5"/> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Border> |
|
|
|
|
|
|
|
</Window> |