123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <UserControl x:Class="CyberX8_Themes.UserControls.WaferPresenceControl"
- 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"
- xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
- xmlns:local="clr-namespace:CyberX8_Themes.UserControls" xmlns:converters="clr-namespace:CyberX8_Themes.Converters"
- mc:Ignorable="d" x:Name="self"
- d:DesignHeight="240" d:DesignWidth="400">
- <UserControl.Resources>
- <converters:BoolToBool x:Key="boolToBool"/>
- </UserControl.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"/>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3">
- <Border BorderBrush="Black" BorderThickness="1" Width="380" Height="26">
- <TextBlock Text="Poorly Placed" FontStyle="Italic" FontSize="15" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" Background="Transparent"/>
- </Border>
-
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3">
- <Border BorderBrush="Black" BorderThickness="1" Width="380" Height="26" >
- <TextBlock Text="Well Placed" FontStyle="Italic" FontSize="15" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" Background="Transparent"/>
- </Border>
- </Grid>
- <Grid Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3">
- <Border BorderBrush="Black" BorderThickness="1" Width="380" Height="26">
- <TextBlock Text="Poorly Placed" FontStyle="Italic" FontSize="15" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" Background="Transparent"/>
- </Border>
- </Grid>
- <Grid Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="3">
- <Border BorderBrush="Black" BorderThickness="1" Width="380" Height="26">
- <TextBlock Text="Empty" FontStyle="Italic" FontSize="15" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" Background="Transparent"/>
- </Border>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="0">
- <Label Content="Well placed Low Threshold" Margin="10,0,0,0" FontSize="13" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Left" />
- </Grid>
- <Grid Grid.Row="3" Grid.Column="0">
- <Label Content="Well placed High Threshold" Margin="10,0,0,0" FontSize="13" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Left" />
- </Grid>
- <Grid Grid.Row="5" Grid.Column="0">
- <Label Content="Empty Threshold" Margin="10,0,0,0" FontSize="13" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Left" />
- </Grid>
- <Control:NumbericTextBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="80"
- Height="22" Value="{Binding ElementName=self,Path=InputLowThreshold,StringFormat={}{0:F2},Mode=TwoWay}"
- KeyOperation="{Binding ElementName=self,Path=KeyDownCommand}" TextboxName="WellPlacedLowThreshold" Margin="20,0,0,4"/>
- <TextBlock Grid.Row="1" Grid.Column="2" Margin="0,0,12,0" TextAlignment="Center" VerticalAlignment="Center"
- Text="{Binding ElementName=self,Path=PersistentValue.WellPlacedLowThreshold,StringFormat=\{0:F2\}}" Background="Black" Foreground="Lime" FontSize="16" FontWeight="Bold"/>
- <Control:NumbericTextBox Grid.Row="3" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Center" Width="80"
- Height="22" Value="{Binding ElementName=self,Path=InputHighThreshold,StringFormat={}{0:F2},Mode=TwoWay}"
- KeyOperation="{Binding ElementName=self,Path=KeyDownCommand}" TextboxName="WellPlacedHighThreshold"/>
- <TextBlock Grid.Row="3" Grid.Column="2" Margin="0,0,12,0" TextAlignment="Center" VerticalAlignment="Center"
- Text="{Binding ElementName=self,Path=PersistentValue.WellPlacedHighThreshold,StringFormat=\{0:F2\}}" Background="Black" Foreground="Lime" FontSize="16" FontWeight="Bold"/>
- <Control:NumbericTextBox Grid.Row="5" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Center" Width="80"
- Height="22" Value="{Binding ElementName=self,Path=InputEmptyThreshold,StringFormat={}{0:F2},Mode=TwoWay}"
- KeyOperation="{Binding ElementName=self,Path=KeyDownCommand}" TextboxName="EmptyThreshold"/>
- <TextBlock Grid.Row="5" Grid.Column="2" Margin="0,0,12,0" TextAlignment="Center" VerticalAlignment="Center"
- Text="{Binding ElementName=self,Path=PersistentValue.EmptyThreshold,StringFormat=\{0:F2\}}" Background="Black" Foreground="Lime" FontSize="16" FontWeight="Bold"/>
- <CheckBox x:Name="checkbox1" Grid.Row="7" Grid.Column="0" Margin="10,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" Content="Test Without Wafers" FontSize="10" FontWeight="Bold"
- Checked="CheckBox_Click" Unchecked="CheckBox_Click"/>
- </Grid>
- </UserControl>
|