private void MenuItem_Click_1(object sender, RoutedEventArgs e) { if (PhotoUtils.CheckForUpdate()) { Close(); } else { MessageBox.Show(TranslationStrings.MsgApplicationUpToDate); } }