설정 옆에 종료 버튼 추가 (프로그램 완전 종료)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013U497kUNL8ArhV7jkzCpKa
main v1.0.0
diadmin 2026-10-27 03:06:52 +00:00
parent df9eeb4835
commit 7f45f37042
No known key found for this signature in database
3 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ Windows 서비스 기동/종료 관리 프로그램 (C# WPF, .NET 8)
- **Start / Stop**: 체크한 서비스를 차례로 시작/중지 - **Start / Stop**: 체크한 서비스를 차례로 시작/중지
- **Windows 강제종료 / Windows 재시작**: 확인창에 표시된 무작위 숫자 6자리를 그대로 입력해야만 실행 (붙여넣기 불가, 설정에서 버튼 숨김 가능) - **Windows 강제종료 / Windows 재시작**: 확인창에 표시된 무작위 숫자 6자리를 그대로 입력해야만 실행 (붙여넣기 불가, 설정에서 버튼 숨김 가능)
- **설정** - **설정**
- **종료**: JJServiceManager 완전 종료 (트레이에도 남지 않음, 실행 중인 서비스는 그대로 유지)
- 서비스마다 **Start / Stop / Status / Log** 버튼, 상태는 2초마다 자동 갱신 (초록=실행 중, 빨강=중지됨) - 서비스마다 **Start / Stop / Status / Log** 버튼, 상태는 2초마다 자동 갱신 (초록=실행 중, 빨강=중지됨)
- 서비스 줄 **우클릭**: 로그 파일 지정 / 로그 폴더 지정 / 경로 해제 - 서비스 줄 **우클릭**: 로그 파일 지정 / 로그 폴더 지정 / 경로 해제
- 하단 **로그**: 작업 기록 (번호 + 체크박스) - 하단 **로그**: 작업 기록 (번호 + 체크박스)

View File

@ -11,6 +11,7 @@
<!-- ───────── 상단 버튼 ───────── --> <!-- ───────── 상단 버튼 ───────── -->
<Border Grid.Row="0" BorderBrush="#B0BEC5" BorderThickness="1" Background="White" Padding="4" Margin="0,0,0,6"> <Border Grid.Row="0" BorderBrush="#B0BEC5" BorderThickness="1" Background="White" Padding="4" Margin="0,0,0,6">
<DockPanel> <DockPanel>
<Button x:Name="btnExit" DockPanel.Dock="Right" Content="종료" ToolTip="JJServiceManager를 완전히 종료합니다. (트레이에도 남지 않음, 서비스는 그대로 유지)"/>
<Button x:Name="btnSettings" DockPanel.Dock="Right" Content="설정"/> <Button x:Name="btnSettings" DockPanel.Dock="Right" Content="설정"/>
<StackPanel x:Name="pnlShutdown" DockPanel.Dock="Right" Orientation="Horizontal" Margin="0,0,12,0"> <StackPanel x:Name="pnlShutdown" DockPanel.Dock="Right" Orientation="Horizontal" Margin="0,0,12,0">
<Button x:Name="btnShutdown" Content="Windows 강제종료" Style="{DynamicResource DangerButton}"/> <Button x:Name="btnShutdown" Content="Windows 강제종료" Style="{DynamicResource DangerButton}"/>

View File

@ -83,6 +83,7 @@ namespace JJServiceManager
root.Find<Button>("btnShutdown").Click += (s, e) => Shutdown(false); root.Find<Button>("btnShutdown").Click += (s, e) => Shutdown(false);
root.Find<Button>("btnRestart").Click += (s, e) => Shutdown(true); root.Find<Button>("btnRestart").Click += (s, e) => Shutdown(true);
root.Find<Button>("btnSettings").Click += (s, e) => OpenSettings(); root.Find<Button>("btnSettings").Click += (s, e) => OpenSettings();
root.Find<Button>("btnExit").Click += (s, e) => ExitApp();
_chkAll.Click += (s, e) => _chkAll.Click += (s, e) =>
{ {
bool v = _chkAll.IsChecked == true; bool v = _chkAll.IsChecked == true;