Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stubbed in a temporary minimal implementation of check for updates #189

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions src/SayMore/UI/ProjectWindow/ProjectWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
using SayMore.Media.MPlayer;
using SayMore.UI.Overview;
using SayMore.Utilities;
using SIL.Windows.Forms.Miscellaneous;

namespace SayMore.UI.ProjectWindow
{
Expand Down Expand Up @@ -247,8 +248,17 @@ private void HandleExitClick(object sender, EventArgs e)
/// ------------------------------------------------------------------------------------
private void HandleHelpAboutClick(object sender, EventArgs e)
{
using (var dlg = new SIL.Windows.Forms.Miscellaneous.SILAboutBox(FileLocationUtilities.GetFileDistributedWithApplication("aboutbox.htm")))
dlg.ShowDialog();
using (var dlg = new SILAboutBox(FileLocationUtilities.GetFileDistributedWithApplication("aboutbox.htm")))
{
dlg.CheckForUpdatesClicked += HandleAboutDialogCheckForUpdatesClick;
dlg.ShowDialog(this);
}
}

private void HandleAboutDialogCheckForUpdatesClick(object sender, EventArgs e)
{
Analytics.Track("CheckForUpdates");
MessageBox.Show("Note yet implemented. Visit software.sil.org/saymore/download to check for updated version.", ProductName);
}

/// ------------------------------------------------------------------------------------
Expand Down