예제 #1
0
 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);
 }
예제 #2
0
 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);
 }
예제 #3
0
 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;
 }
예제 #4
0
 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);
 }
예제 #5
0
 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);
 }
예제 #6
0
 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;
 }