コード例 #1
0
 public Update()
 {
     InitializeComponent();
     _UpdateController = new UpdateController(this);
     _UpdateController.CheckUpdates();
     DetailsRichTextBox.BackColor = UpdateProgressBar.BackColor;
 }
コード例 #2
0
        private static async Task CheckForUpdate()
        {
            while (true)
            {
                await UpdateController.CheckUpdates();

                Thread.Sleep(360000);
            }
        }