mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Making the initial stuff working, getting an installer, when running from VS.
This commit is contained in:
parent
a63bf734d4
commit
57e2044839
1023 changed files with 20896 additions and 19456 deletions
|
@ -4,13 +4,9 @@ using System.Windows;
|
|||
|
||||
namespace TranslationByMarkupExtension {
|
||||
public class TranslationData : IWeakEventListener, INotifyPropertyChanged {
|
||||
#region Private Members
|
||||
private readonly string _key;
|
||||
|
||||
private readonly string _key;
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TranslationData"/> class.
|
||||
/// </summary>
|
||||
/// <param name="key">The key.</param>
|
||||
|
@ -29,9 +25,7 @@ namespace TranslationByMarkupExtension {
|
|||
|
||||
public object Value => TranslationManager.Instance.Translate(_key);
|
||||
|
||||
#region IWeakEventListener Members
|
||||
|
||||
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
|
||||
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
|
||||
{
|
||||
if (managerType == typeof(LanguageChangedEventManager))
|
||||
{
|
||||
|
@ -46,12 +40,6 @@ namespace TranslationByMarkupExtension {
|
|||
PropertyChanged?.Invoke( this, new PropertyChangedEventArgs("Value"));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region INotifyPropertyChanged Members
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
#endregion
|
||||
}
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue