본문 바로가기

Programming277

[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.
[ASP.NET,SpringBoot] WAS에서 파일 다운로드 처리 시에 한글 깨짐 조치 방안 [ASP.NET,SpringBoot] WAS에서 파일 다운로드 처리 시에 한글 깨짐 조치 방안 UTF-8 형식으로 URL Encode 하여 다운로드 처리 시에 Edge , Chrome 브라우져에서는 한글이 정상적으로 표시 되는 것을 확인 하였습니다. JAVA Sample return ResponseEntity.ok() .header("Content-Disposition" , String.format("attachment; filename=%s" , URLEncoder.encode("가나다라마바사.pdf", "UTF-8") )) .contentLength(fileSystemResource.contentLength()) .contentType(MediaType.APPLICATION_OCTET_STREAM) .. 2024. 3. 12.
openjdk 1.8 이용하여 SQL Server 접속 시도 시에 오류 발생 조치 방안 (1) PKIX path building failed 오류 발생 진행 시에 아래와 같이 조치 하였습니다. - Windows 서버의 경우 where java 명령어로 JAVA 위치 탐색 진행 ( 리눅스의 경우 which java ) - openjdk 디렉터리 jre/lib/security/java.secuiry 파일 수정 진행 - 변경 전 jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, \ DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \ include jdk.disabled.namedCurves - 변경 후 # TLSv1, TLSv1.1, 주석처리(제거) jd.. 2024. 3. 10.