Files
BeWoPlaner/BeWo/Scheduling/Converter/WidthAdditionMultiConverter.cs
Lyndon Jetten 23b8757ff5 FaC: Neues Scheduling-Modul hinzugefügt, aber noch lange nicht fertig.
ownChat: Neues TimeStamp-Objekt wird unterstützt und der Chat funktioniert wieder.
2024-06-05 14:45:33 +02:00

23 lines
638 B
C#

using System;
using System.Globalization;
using System.Windows.Data;
namespace BeWo.Scheduling.Converter
{
public class WidthAdditionMultiConverter : IMultiValueConverter
{
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
{
var w1 = System.Convert.ToDouble(values[0]);
var w2 = System.Convert.ToDouble(values[1]);
return w1 + w2;
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}