리크 테스트 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.
 
 
 
 
 
 

50 lines
2.4 KiB

<Application x:Class="leak_test_project.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:leak_test_project"
xmlns:views="clr-namespace:leak_test_project.Views"
xmlns:viewmodels="clr-namespace:leak_test_project.ViewModels"
StartupUri="MainWindow.xaml">
<Application.Resources>
<!-- ViewModel to View Mappings -->
<DataTemplate DataType="{x:Type viewmodels:HomeViewModel}">
<views:HomeView/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewmodels:InOutViewModel}">
<views:InOutView/>
</DataTemplate>
<DataTemplate DataType="{x:Type viewmodels:DataViewModel}">
<views:DataView/>
</DataTemplate>
<!-- Common Styles -->
<Style x:Key="HeaderStyle" TargetType="TextBlock">
<Setter Property="Background" Value="#696969"/>
<Setter Property="Foreground" Value="White"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="TextAlignment" Value="Center"/>
<Setter Property="FontSize" Value="14"/>
</Style>
<Style x:Key="LabelStyle" TargetType="Border">
<Setter Property="Background" Value="#D3D3D3"/>
<Setter Property="BorderBrush" Value="Black"/>
<Setter Property="BorderThickness" Value="0.5"/>
<Setter Property="Padding" Value="5"/>
</Style>
<Style x:Key="LabelTextStyle" TargetType="TextBlock">
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="FontWeight" Value="SemiBold"/>
</Style>
<Style x:Key="ValueStyle" TargetType="Border">
<Setter Property="Background" Value="White"/>
<Setter Property="BorderBrush" Value="Black"/>
<Setter Property="BorderThickness" Value="0.5"/>
<Setter Property="Padding" Value="5"/>
</Style>
<Style x:Key="ValueTextStyle" TargetType="TextBlock">
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
</Application.Resources>
</Application>