private static void Main(string[] args) { myWorker = new MyWorker(); Task.Run(() => Execute()); Console.ReadKey(); }
public MainPage() { myWorker = new MyWorker(); this.InitializeComponent(); }
private static void Main(string[] args) { myWorker = new MyWorker(); Task.Run(() => Execute()); Console.ReadKey(); }
public MainPage() { myWorker = new MyWorker(); this.InitializeComponent(); }