본문 바로가기

C# /WPF3

[WPF] TrayIcon 생성 시에 Resource 의 이미지 설정 하기 출처 : https://stackoverflow.com/questions/74466/how-do-i-use-an-icon-that-is-a-resource-in-wpf How do I use an icon that is a resource in WPF? I have a .ico file that is embedded as a resource (build action set to resource). I am trying to create a NotifyIcon. How can I reference my icon? notifyIcon = new NotifyIcon(); notifyIcon.Icon ... stackoverflow.com 프로젝트의 리소스 관리자에서 Icon 을 추가 완료 후 Icon 파일에 .. 2024. 4. 2.
[WPF] Title Bar에 최소화,최대화,닫기 버튼 숨기는 방안 [WPF] Title Bar에 최소화,최대화,닫기 버튼 숨기는 방안 출처 : c# - How to hide close button in WPF window? - Stack Overflow How to hide close button in WPF window? I'm writing a modal dialog in WPF. How do I set a WPF window to not have a close button? I'd still like for its WindowState to have a normal title bar. I found ResizeMode, WindowState, and WindowS... stackoverflow.com Loaded 이벤트에 명시 하였습니다! /// /// MainW.. 2024. 3. 21.
[WPF] DatePicker Calendar 특정 일자 Day Button Style 변경 출처 : WPF: Enable Specific Dates Only In a DatePicker - TechNet Articles - United States (English) - TechNet Wiki (microsoft.com) WPF: Enable Specific Dates Only In a DatePicker - TechNet Articles - United States (English) - TechNet Wiki social.technet.microsoft.com [WPF] DatePicker Calendar 특정 일자 Day Button Style 변경 2022년 8월 21,22,23,25일자의 Day Button의 Style을 다르게 표시 하고자 하는 기능이 필요 하였다. CalendarTes.. 2022. 8. 25.