I am trying to use a dispatch timer, but my c# app can't find the namespace. This is the error:
The type or namespace name 'DispatcherTimer' could not be found (are you missing a using directive or an assembly reference?)
Here is what I am using:
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Globalization;
using System.Text;
using System.Threading;
using System.Timers;
using System.Windows.Forms;
Here is the code:
DispatcherTimer timer1 = new DispatcherTimer();