private static void AskToUpdate() { if (MessageBox.Show("An update is available for Kryptor. Would you like to download it now?", "Update Available", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes) { const string downloadLink = "https://github.com/samuel-lucas6/Kryptor/releases"; VisitLink.OpenLink(downloadLink); } }
private void PicHelp_Click(object sender, EventArgs e) { const string passwordSharingLink = "https://kryptor.co.uk/password-sharing.html"; VisitLink.OpenLink(passwordSharingLink); }
private void TsmiDonate_Click(object sender, EventArgs e) { const string donateLink = "https://kryptor.co.uk/donate.html"; VisitLink.OpenLink(donateLink); }
private void TsmiSourceCode_Click(object sender, EventArgs e) { const string sourceCodeLink = "https://github.com/samuel-lucas6/Kryptor"; VisitLink.OpenLink(sourceCodeLink); }