Tätigkeiten überarbeitet.

This commit is contained in:
Husky
2020-06-06 18:46:44 +02:00
parent 4d5d5082a7
commit 06fc472965
20 changed files with 257 additions and 19 deletions

View File

@@ -0,0 +1,26 @@
using Syncfusion.Windows.Shared;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Windows.Data;
namespace KanSan
{
class IstFertigZuTextConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
DateTime dateTime = (DateTime)value;
if (dateTime != null && dateTime != DateTime.MinValue)
return string.Format("(Erledigt am {0})",dateTime.ToShortDateString());
return "";
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}