aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/IDESettings.cs
blob: 347b064680024e0624e7aac1ff6a0a721f339599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Settings;

namespace Tango.Scripting.IDE
{
    public class IDESettings : SettingsBase
    {
        public List<String> LastSolutionLocations { get; set; }

        public IDESettings()
        {
            LastSolutionLocations = new List<string>();
        }
    }
}
ass="p">; using Tango.BL.Entities; namespace Tango.MachineStudio.Developer.Converters { public class JobProgressToPositionConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { try { if (values.Length == 3 && values[1] != DependencyProperty.UnsetValue) { double length = System.Convert.ToDouble(values[0]); double progress = System.Convert.ToDouble(values[1]); double parentElementWidth = System.Convert.ToDouble(values[2]); return (progress / length) * parentElementWidth; } else { return 0d; } } catch { return 0d; } } public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) { throw new NotImplementedException(); } } }