public static void UpdateAvailable(FoundReleases foundReleases) { ImageStatus = Resources.new24; InvokeVersionUpdateChanged(new EventArgs()); UpdateTip = new SuperToolTip(); UpdateTip.Items.AddTitle("New Update Available!"); UpdateTip.Items.Add("Double click to download the latest release build."); UpdateLink = string.Format("https://github.com/yanfoe/YANFOE.v2/downloads/YANFOE.v{0}.{1}-{2}.Build.{3}.zip", foundReleases.Major, foundReleases.Minor, foundReleases.Milestone, foundReleases.BuildNumber); }
private static void UsingUnreleasedVersion(FoundReleases foundReleases) { ImageStatus = Resources.warning24; InvokeVersionUpdateChanged(new EventArgs()); UpdateTip = new SuperToolTip(); UpdateTip.Items.AddTitle(string.Format("You are using an unofficial build of YANFOE ({0}).", YANFOE.Settings.ConstSettings.Application.ApplicationBuild)); UpdateTip.Items.Add(string.Format("Double click to download build {0}", foundReleases.BuildNumber)); UpdateLink = string.Format("https://github.com/yanfoe/YANFOE.v2/downloads/YANFOE.v{0}.{1}-{2}.Build.{3}.zip", foundReleases.Major, foundReleases.Minor, foundReleases.Milestone, foundReleases.BuildNumber); }
private static void NoNewUpdate(FoundReleases foundReleases) { ImageStatus = Resources.accept24; InvokeVersionUpdateChanged(new EventArgs()); UpdateTip = new SuperToolTip(); UpdateTip.Items.AddTitle("You are using the latest build of YANFOE."); UpdateTip.Items.Add("Current build: " + foundReleases.BuildNumber); UpdateLink = string.Empty; }
public static void UpdateAvailable(FoundReleases foundReleases) { ImageStatus = Resources.new24; InvokeVersionUpdateChanged(new EventArgs()); UpdateTip = new SuperToolTip(); UpdateTip.Items.AddTitle("New Update Available!"); UpdateTip.Items.Add("Double click to download the latest release build."); UpdateLink = string.Format("https://github.com/yanfoe/YANFOE.v2/downloads/YANFOE.v{0}.{1}-{2}.Build.{3}.zip", foundReleases.Major, foundReleases.Minor, foundReleases.Milestone, foundReleases.BuildNumber); }
private static void UsingUnreleasedVersion(FoundReleases foundReleases) { ImageStatus = Resources.warning24; InvokeVersionUpdateChanged(new EventArgs()); UpdateTip = new SuperToolTip(); UpdateTip.Items.AddTitle(string.Format("You are using an unofficial build of YANFOE ({0}).", YANFOE.Settings.ConstSettings.Application.ApplicationBuild)); UpdateTip.Items.Add(string.Format("Double click to download build {0}", foundReleases.BuildNumber)); UpdateLink = string.Format("https://github.com/yanfoe/YANFOE.v2/downloads/YANFOE.v{0}.{1}-{2}.Build.{3}.zip", foundReleases.Major, foundReleases.Minor, foundReleases.Milestone, foundReleases.BuildNumber); }
private static void NoNewUpdate(FoundReleases foundReleases) { ImageStatus = Resources.accept24; InvokeVersionUpdateChanged(new EventArgs()); UpdateTip = new SuperToolTip(); UpdateTip.Items.AddTitle("You are using the latest build of YANFOE."); UpdateTip.Items.Add("Current build: " + foundReleases.BuildNumber); UpdateLink = string.Empty; }