Compare commits
2 Commits
2d98fb99be
...
213885f2ca
Author | SHA1 | Date |
---|---|---|
Никита | 213885f2ca | 6 years ago |
Никита | 5f52377b15 | 6 years ago |
7 changed files with 63 additions and 18 deletions
@ -0,0 +1,23 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Globalization; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using System.Windows.Data; |
|||
|
|||
namespace Signal_Generator |
|||
{ |
|||
class StringDoubleConverter : IValueConverter |
|||
{ |
|||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) |
|||
{ |
|||
return ((double)value).ToString(); |
|||
} |
|||
|
|||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) |
|||
{ |
|||
return double.Parse((string)value); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue