UI Updates + context menu + popup for tray.

This commit is contained in:
Patrick Fic
2020-01-30 21:31:20 -08:00
parent fc52804362
commit 06b516a5b8
8 changed files with 326 additions and 80 deletions

View File

@@ -41,4 +41,20 @@ namespace BodyshopUploader.Utils
}
}
public class MonitorStatusConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if ((bool)value == true)
return Properties.Resources.Label_Status_Started;
else
return Properties.Resources.Label_Status_Stopped;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotSupportedException("Two-way binding not supported by MonitorStatusConverter");
}
}
}