c#/WPF

[WPF] 새로운 창 띄우기 (버튼 클릭 시)

Heeyeon Choi 2023. 4. 13. 11:55
728x90

1. Views폴더에 SecondView.xaml 생성

2. SecondViewModel 생성 및 ProgressValue 정의

3. SecondView.xaml 의 progressBar에 Value에 Binding 

4. MainViewModel에 SecondShow 생성 (ICommand)

5.MainWindow.xaml 에 버튼 생성 및 command binding 

 

728x90

'c# > WPF' 카테고리의 다른 글

[WPF] ComboBox 사용해보기  (0) 2023.04.14
[WPF] MSSQL/MYSQL 데이터베이스 이용하기  (0) 2023.04.14
[WPF] UserControl / CustomControl  (0) 2023.04.13
[WPF] Task, 비동기, AsyncRelayCommand  (0) 2023.04.12
[WPF] Command 사용하기  (0) 2023.04.12