Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

deleted unneeded converter - doing animations through code

  • Loading branch information...
commit b5c727130f15f71050a3cf094e56b39710ea9b3c 1 parent ccedffe
Doug Rathbone authored
32 OpenAttractor/Converters/Multiplier.cs
... ... @@ -1,32 +0,0 @@
1   -using System;
2   -using System.Collections.Generic;
3   -using System.Linq;
4   -using System.Text;
5   -
6   -namespace OpenAttractor.Converters
7   -{
8   - public class Multiplier
9   - {
10   - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
11   - {
12   - var dblValue = 1.0;
13   - if (value is double)
14   - dblValue = (double)value;
15   - else if (!(value is string) || !double.TryParse((string)value, out dblValue))
16   - return null;
17   -
18   - var dblParam = 1.0;
19   - if (parameter is double)
20   - dblParam = (double)parameter;
21   - else if (!(parameter is string) || !double.TryParse((string)parameter, out dblParam))
22   - return null;
23   -
24   - return dblValue * dblParam;
25   - }
26   -
27   - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
28   - {
29   - throw new NotImplementedException();
30   - }
31   - }
32   -}
1  OpenAttractor/OpenAttractor.csproj
@@ -53,7 +53,6 @@
53 53 <SubType>Designer</SubType>
54 54 </ApplicationDefinition>
55 55 <Compile Include="AppSettings.cs" />
56   - <Compile Include="Converters\Multiplier.cs" />
57 56 <Compile Include="ImageViewer.xaml.cs">
58 57 <DependentUpon>ImageViewer.xaml</DependentUpon>
59 58 </Compile>

0 comments on commit b5c7271

Please sign in to comment.
Something went wrong with that request. Please try again.