public static void Start(MaterialFlatButton button) { bool newVersion = UpdateCheck.IsNewVersionAvailable(); if (newVersion == true) { button.Visible = true; UpdateCheck.StartUpdate(); } }
private void DownloadNewFlatButton_Click(object sender, EventArgs e) { UpdateCheck.StartUpdate(); }