C#/WPF
[WPF] System Tray Icon
딸기우유중독
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