-
[WPF] System Tray IconC#/WPF 2024. 4. 9. 15:25
최소화 상태시 윈도우 하이드
if( CurrentWindowService.WindowState == DXWindowState.Minimized) { CurrentWindowService.Hide(); }
https://blog.naver.com/cckkss0424/170452849
WPF 어플리케이션 트레이아이콘으로 실행하기
C#에서는 기본적으로 컨트롤박스에서 NotifyIcon 컨트롤을 통해 쉽게 사용이 가능했지만 WPF에서도 ...
blog.naver.com
WPF에서 Tray Icon 작업을 하려면
Forms 를 사용해야 함.
사용법: https://dlsenfl.tistory.com/entry/WPF-SystemWindowsForms
using WinForms = System.Windows.Forms;
NotifyIcon이 Tray Icon
NotifyIcon notifyIcon;
728x90'C# > WPF' 카테고리의 다른 글
[WPF] Mutex (0) 2024.04.17 [WPF] property 초기화 생성 (0) 2024.04.17 [WPF] System.Windows.Forms (0) 2024.04.09 [WPF] static Main (0) 2024.04.09 [WPF] Nuget 설치 실패 (0) 2024.04.09 댓글