[build] 토이 프로젝트 작업 변경

1. .gitignore 파일이 추가되어, 컴파일된 바이너리, 로그, 임시 파일 등이 Git 추적에서 제외되었습니다.
2. WPF의 MVVM 패턴을 따르는 여러 뷰(LoginWindow.xaml, MainWindow.xaml, RegistMemberWindow.xaml), 뷰 모델(LoginWindowViewModel.cs, MainWindowViewModel.cs, RegistMemberWindowViewModel.cs), 그리고 모델(Member.cs)이 추가되었습니다.
3. 리소스 및 스타일 정의를 포함한 XAML 리소스 파일(DefaultTheme.xaml, LightTheme.xaml, Buttons.xaml 등)이 추가되어 UI의 모양과 느낌을 커스터마이즈할 수 있게 되었습니다.
4. 애플리케이션 설정(AppSettings.cs)과 관련된 설정 파일과 로그인 정보(LoginInfo.cs)를 처리하는 코드가 추가되었습니다.
5. 이미지 리소스(bg_login.jpeg, btn_search_001.png, ico_pw.png, ico_user.png)가 추가되어 UI에 사용됩니다.
6. 유틸리티 및 서비스(ResourceExplorer.cs, ViewModelLocator.cs 등)를 처리하는 여러 보조 클래스들이 추가되었습니다.
This commit is contained in:
최준영
2024-04-01 17:28:41 +09:00
commit bfde26dee5
42 changed files with 2627 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
<UserControl x:Class="WPFBeginner.Controls.MemberInputPanel"
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:local="clr-namespace:WPFBeginner.Controls"
mc:Ignorable="d" Name="root"
d:DesignHeight="450" d:DesignWidth="800">
<UserControl.Resources>
<Style x:Key="LabelTitle" TargetType="Label">
<Setter Property="FontSize" Value="12"/>
<Setter Property="FontFamily" Value="Yu Gothic UI"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Padding" Value="10 0"/>
<Setter Property="HorizontalAlignment" Value="Right"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Foreground" Value="{DynamicResource Colors.TextBox.Foreground}"/>
</Style>
<Style x:Key="InputBox" TargetType="TextBox">
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Padding" Value="5 0"/>
<Setter Property="Height" Value="25"/>
<Setter Property="Foreground" Value="{DynamicResource Colors.TextBox.Foreground}"/>
<Setter Property="Background" Value="{DynamicResource Colors.TextBox.Background}"/>
<Setter Property="BorderBrush" Value="#FF424242"/>
</Style>
</UserControl.Resources>
<Grid >
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Style="{StaticResource LabelTitle}" Content="{StaticResource Cultures.MainWindow.Label.Name}"/>
<Label Grid.Row="1" Style="{StaticResource LabelTitle}" Content="{StaticResource Cultures.MainWindow.Label.Call}" />
<Label Grid.Row="2" Style="{StaticResource LabelTitle}" Content="{StaticResource Cultures.MainWindow.Label.No}"/>
<Label Grid.Row="3" Style="{StaticResource LabelTitle}" Content="{StaticResource Cultures.MainWindow.Label.Mail}"/>
<TextBox Grid.Row="0" Grid.Column="1" Style="{StaticResource InputBox}" Text="{Binding ElementName=root, Path=MemberName}"/>
<TextBox Grid.Row="1" Grid.Column="1" Style="{StaticResource InputBox}" Text="{Binding ElementName=root, Path=Call}"/>
<TextBox Grid.Row="2" Grid.Column="1" Style="{StaticResource InputBox}" Text="{Binding ElementName=root, Path=EmployeeNo}"/>
<TextBox Grid.Row="3" Grid.Column="1" Style="{StaticResource InputBox}" Text="{Binding ElementName=root, Path=Email}"/>
</Grid>
</UserControl>