리크 테스트 gui
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

104 lines
5.5 KiB

<Window x:Class="leak_test_project.Views.ParametersWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="시험 설정 (Parameters Setting)"
SizeToContent="Height" Width="550" MaxHeight="600"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False"
Background="#F4F6F7">
<Window.Resources>
<!-- Updated Premium Legacy Styles -->
<Style x:Key="ParamHeaderBorder" TargetType="Border">
<Setter Property="Background" Value="#34495E"/>
<Setter Property="BorderBrush" Value="#2C3E50"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Width" Value="140"/>
<Setter Property="Height" Value="45"/>
</Style>
<Style x:Key="ParamHeaderLabel" TargetType="TextBlock">
<Setter Property="Foreground" Value="White"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="TextAlignment" Value="Center"/>
</Style>
<Style x:Key="ParamValueBorder" TargetType="Border">
<Setter Property="Background" Value="White"/>
<Setter Property="BorderBrush" Value="#BDC3C7"/>
<Setter Property="BorderThickness" Value="0,1,1,1"/>
<Setter Property="Width" Value="180"/>
<Setter Property="Height" Value="45"/>
</Style>
<Style x:Key="ParamTextBox" TargetType="TextBox">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="FontSize" Value="18"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="HorizontalContentAlignment" Value="Right"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Padding" Value="12,0"/>
<Setter Property="Foreground" Value="#17202A"/>
</Style>
<Style x:Key="FooterButton" TargetType="Button">
<Setter Property="Width" Value="120"/>
<Setter Property="Height" Value="45"/>
<Setter Property="Margin" Value="15,0"/>
<Setter Property="Background" Value="#E5E8E8"/>
<Setter Property="BorderBrush" Value="#95A5A6"/>
<Setter Property="BorderThickness" Value="1.5"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="FontSize" Value="14"/>
</Style>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="60"/> <!-- Title Row -->
<RowDefinition Height="*"/> <!-- Content Row -->
<RowDefinition Height="85"/> <!-- Footer Row -->
</Grid.RowDefinitions>
<!-- Title Bar -->
<Border Grid.Row="0" Background="#2C3E50" BorderBrush="#1A252F" BorderThickness="0,0,0,2">
<TextBlock Text="PARAMETERS SETTING" Foreground="White" FontSize="18" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<!-- Main Content with ScrollViewer -->
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
<Grid Margin="40,25">
<StackPanel HorizontalAlignment="Center">
<TextBlock Text="[ 공통 판정 스팩 설정 ]" FontSize="15" FontWeight="Bold" Foreground="#2E86C1" Margin="0,0,0,15" HorizontalAlignment="Left"/>
<!-- SPEC UL -->
<StackPanel Orientation="Horizontal" Margin="0,8">
<Border Style="{StaticResource ParamHeaderBorder}">
<TextBlock Text="SPEC UL (sccm)" Style="{StaticResource ParamHeaderLabel}"/>
</Border>
<Border Style="{StaticResource ParamValueBorder}">
<TextBox x:Name="editSpecUL" Text="1.00" Style="{StaticResource ParamTextBox}"/>
</Border>
</StackPanel>
<!-- SPEC LL -->
<StackPanel Orientation="Horizontal" Margin="0,8">
<Border Style="{StaticResource ParamHeaderBorder}">
<TextBlock Text="SPEC LL (sccm)" Style="{StaticResource ParamHeaderLabel}"/>
</Border>
<Border Style="{StaticResource ParamValueBorder}">
<TextBox x:Name="editSpecLL" Text="-1.00" Style="{StaticResource ParamTextBox}"/>
</Border>
</StackPanel>
</StackPanel>
</Grid>
</ScrollViewer>
<!-- Footer Buttons -->
<Border Grid.Row="2" Background="#D5DBDB" BorderBrush="#AEB6BF" BorderThickness="0,2,0,0">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button x:Name="btnSave" Content="설정 저장" Style="{StaticResource FooterButton}" Click="BtnSave_Click" Background="#D4EFDF" BorderBrush="#27AE60"/>
<Button x:Name="btnClose" Content="닫기" Style="{StaticResource FooterButton}" Click="BtnClose_Click"/>
</StackPanel>
</Border>
</Grid>
</Window>