あなたはWpfを使用しているので、簡単な作業例を作成しました。プロジェクト参照が次のようになっていることを確認してください。

メインウィンドウ
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Forms;
namespace WpfApplication1
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
Timer tmr = new Timer();
public MainWindow()
{
InitializeComponent();
tmr.Interval = 2000;
tmr.Tick += new EventHandler(tmr_Tick);
tmr.Start();
}
void tmr_Tick(object sender, EventArgs e)
{
tmr.Stop();
throw new NotImplementedException();
}
}
}
また、roken が述べたように、Wpf Dispatcher Timer を使用できれば簡単です。リンクの例を見ると、Windows フォーム タイマーを使用する必要はありません。この場合、これは WPF プログラムであるため、Dispatcher タイマーは正常に動作します。
あなたのリンクに基づいて変更された編集
public partial class MainWindow : Window
{
System.Windows.Threading.DispatcherTimer tmrStart = new System.Windows.Threading.DispatcherTimer();
System.Windows.Threading.DispatcherTimer tmrStop = new System.Windows.Threading.DispatcherTimer();
public MainWindow()
{
InitializeComponent();
tmrStart.Interval = TimeSpan.FromSeconds(2); //Delay before shown
tmrStop.Interval = TimeSpan.FromSeconds(3); //Delay after shown
tmrStart.Tick += new EventHandler(tmr_Tick);
tmrStop.Tick += new EventHandler(tmrStop_Tick);
}
void tmrStop_Tick(object sender, EventArgs e)
{
tmrStop.Stop();
label1.Content = "";
}
void tmr_Tick(object sender, EventArgs e)
{
tmrStart.Stop();
label1.Content = "Success";
tmrStop.Start();
}
private void button1_Click(object sender, RoutedEventArgs e)
{
tmrStart.Start();
}
}