일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- WPF
- algorithm
- File
- ListView
- Binding
- logging
- windows
- nullable
- git
- mysql
- tls
- csharp
- chashtag
- IValueConverter
- coding-test
- commit
- log
- programmers
- Visual Studio
- 코딩테스트
- Coding
- string
- Github
- .net
- convert
- Microsoft
- dotNET
- C#
- Process
- windows10
Archives
- Today
- Total
목록timespan (1)
CHashtag
[C#] [WPF] DispatcherTimer 사용방법
안녕하세요. 오늘은 WPF에서 사용가능한 DispatherTimer 사용방법에 대해 알아보도록 하겠습니다. DispatherTimer은 정해진 Interval마다 Tick Event Listener함수를 호출해주는 기능을 가지고 있습니다. using System; using System.Windows.Threading; private void InitTimer() { DispatcherTimer timer = new DispatcherTimer(); // 1초 마다 Tick 됩니다. timer.Interval = TimeSpan.FromMilliseconds(1000); // Event 특성상 여러 이벤트를 등록시킬 수 있습니다. timer.Tick += Timer_Tick; timer.Tick += T..
C#/WPF
2021. 2. 24. 01:03