summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2013-04-01 12:37:41 +0400
committerGravatar Vitaly Takmazov2013-04-01 12:37:41 +0400
commitfdc5db9e8ea8d3d7a09569a8d3e7121580d2ec13 (patch)
treedd080a72ea037bd0843c56145dadf99ad62a615a /Juick
parent0623943dccad5c44831b2ad4a803eab2436e45e6 (diff)
remove unused code
Diffstat (limited to 'Juick')
-rw-r--r--Juick/Controls/MessageList.xaml3
-rw-r--r--Juick/Converters/MidToUriConverter.cs29
-rw-r--r--Juick/Juick.csproj2
-rw-r--r--Juick/ViewModels/ViewModelBase.cs2
4 files changed, 0 insertions, 36 deletions
diff --git a/Juick/Controls/MessageList.xaml b/Juick/Controls/MessageList.xaml
index 96cd81b..76b90ce 100644
--- a/Juick/Controls/MessageList.xaml
+++ b/Juick/Controls/MessageList.xaml
@@ -13,9 +13,6 @@
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
d:DesignHeight="480" d:DesignWidth="480">
- <UserControl.Resources>
- <converters:MidToUriConverter x:Key="uriConverter" />
- </UserControl.Resources>
<Grid x:Name="LayoutRoot">
<toolkit:LongListSelector x:Name="longList" Margin="0, 0, -12, 0"
diff --git a/Juick/Converters/MidToUriConverter.cs b/Juick/Converters/MidToUriConverter.cs
deleted file mode 100644
index 645b860..0000000
--- a/Juick/Converters/MidToUriConverter.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-using System.Windows.Data;
-using System.Globalization;
-
-namespace Juick.Converters
-{
- public class MidToUriConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- int MID = (int)value;
- return string.Format("/ThreadView.xaml?mid={0}", MID);
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- return null;
- }
- }
-}
diff --git a/Juick/Juick.csproj b/Juick/Juick.csproj
index 173aef8..673bb51 100644
--- a/Juick/Juick.csproj
+++ b/Juick/Juick.csproj
@@ -93,7 +93,6 @@
<Compile Include="Controls\MessageList.xaml.cs">
<DependentUpon>MessageList.xaml</DependentUpon>
</Compile>
- <Compile Include="Converters\MidToUriConverter.cs" />
<Compile Include="LoginView.xaml.cs">
<DependentUpon>LoginView.xaml</DependentUpon>
</Compile>
@@ -189,7 +188,6 @@
<Resource Include="Images\appbar.transport.rew.rest.png" />
<Resource Include="Images\appbar.upload.rest.png" />
<Content Include="Images\appbar.send.png" />
- <Content Include="README_FIRST.txt" />
<Content Include="SplashScreenImage.jpg" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
diff --git a/Juick/ViewModels/ViewModelBase.cs b/Juick/ViewModels/ViewModelBase.cs
index 80d3d8b..746ce04 100644
--- a/Juick/ViewModels/ViewModelBase.cs
+++ b/Juick/ViewModels/ViewModelBase.cs
@@ -31,8 +31,6 @@ namespace Juick.ViewModels
public string RestUri { get; set; }
public virtual string Caption { get { return "juick"; } }
- public string SelectedId { get; set; }
-
/// <summary>
/// A collection for MessageViewModel objects.
/// </summary>