public Update() { InitializeComponent(); _UpdateController = new UpdateController(this); _UpdateController.CheckUpdates(); DetailsRichTextBox.BackColor = UpdateProgressBar.BackColor; }
private static async Task CheckForUpdate() { while (true) { await UpdateController.CheckUpdates(); Thread.Sleep(360000); } }