source: trunk/CrypPlugins/WorkspaceManager/View/Converter/InputOutputConverter.cs @ 1807

Last change on this file since 1807 was 1807, checked in by matkovic, 11 years ago

-Logging added
-Progress bar added
-DataPresentation now updating
-PluginContainerView complete rebuilt
-Several images added

File size: 738 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Data;
6
7namespace WorkspaceManager.View.Converter
8{
9    class InputOutputConverter : IValueConverter
10    {
11        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
12        {
13            bool isOutgoing = (bool)value;
14            if (isOutgoing)
15                return "Output";
16            else
17                return "Input";
18        }
19
20        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
21        {
22            throw new NotImplementedException();
23        }
24    }
25}
Note: See TracBrowser for help on using the repository browser.