일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- heroku
- git
- pycharm
- 디자인 패턴
- PostgreSQL 설치 시 에러
- 프로그래머스 월간 코드 챌린지
- 스코페2021
- 프로그래머스 월간 코드 챌린지 시즌1
- 바이오데이터 엔지니어
- github
- terraform
- 브랜디
- FastAPI
- github actions
- 스프링 부트와 AWS로 혼자 구현하는 웹 서비스
- selenium
- WPF
- Word Cloud
- c#
- 클린 코드
- Codeforces
- 파이썬
- Python
- PostgreSQL
- 프로그래머스 코딩테스트 연습문제
- Firefox
- Spring Boot
- 프로그래머스 코딩테스트 연습
- 프로그래머스 코딩 테스트 연습
- 애드센스
- Today
- Total
목록WPF (5)
프로그래밍 연습하기
https://stackoverflow.com/questions/1217268/how-to-get-notified-when-a-window-get-focus-in-wpf How to get notified when a window get focus in WPF? I want to get notified when I click a window in WPF (I use the GotFocus event), but it only triggers when I click on a Combobox in the window. What I want is to get notified when the the window or ... stackoverflow.com 스택오버플로를 참고하였습니다. 원래는 GotFocus를 사..
https://stackoverflow.com/questions/30063550/how-should-i-pass-data-between-wpf-windows-involving-mainwindow-c How should I pass data between WPF Windows involving `MainWindow` (C#)? I am currently starting a C# project in which I am modelling a simple ATM machine, and will therefore need several screens. I have run into the problem of passing data between screens before when I... stackoverflow...
new System.IO.DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory) 이것을 사용하여 현재 디렉토리를 알 수 있고, 뒤에 원하는 경로를 더 넣을 수 있습니다. WPF에서 사용할 수 있는 방법입니다. 또한 이 경로가 존재하지 않는다면 디렉토리를 만들어 줄 수 있습니다. System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory + @"경로_추가"); if (!di.Exists) { di.Create(); }
새로운 창을 만드는 방법입니다. 솔루션 탐색기에서 프로젝트 이름을 우클릭 하면 추가 -> 새 항목 에서 창을 하나 추가해줍니다. 그 후 그 창을 만들어주고, 기존 창에서는 Window newWindow = new newWindow(); newWindow.Show(); 이런식으로 새롭게 만든 창을 띄워줄 수 있습니다.