DispatcherTimer
1.创建一个project名为DispatcherTimer
2.XAML代码
<Window x:Class="DispatcherTimer.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008