Skip to content

Commit

Permalink
Update MainWindow.cs (#101)
Browse files Browse the repository at this point in the history
Case sensitive resource key is needed
  • Loading branch information
Kaster authored and vatsan-madhavan committed Oct 14, 2019
1 parent 8526712 commit 1d96c19
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public MainWindow()
private void messageBoxButton_Click(object sender, RoutedEventArgs e)
{
// Programmatic use of string resource from StringResources.xaml resource dictionary
var localizedMessage = (string) Application.Current.FindResource("localizedMessage");
var localizedMessage = (string) Application.Current.FindResource("LocalizedMessage");
MessageBox.Show(localizedMessage);
}
}
}
}

0 comments on commit 1d96c19

Please sign in to comment.