Mercurial > silverbladetech
changeset 79:5172a9b9800c
Ready to upload to codeplex
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Mon, 23 Apr 2012 23:07:23 +0100 |
parents | dd6bcd2535b6 |
children | 62889c14148e |
files | SilverlightGlimpse/SilverlightGlimpse.sln SilverlightGlimpse/SilverlightGlimpse/Bugs.txt SilverlightGlimpse/SilverlightGlimpse/Services/Glimpse.cs SilverlightGlimpse/SilverlightGlimpse/Views/ValidationsViewer.xaml SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml.cs |
diffstat | 6 files changed, 14 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/SilverlightGlimpse/SilverlightGlimpse.sln Mon Apr 23 22:43:53 2012 +0100 +++ b/SilverlightGlimpse/SilverlightGlimpse.sln Mon Apr 23 23:07:23 2012 +0100 @@ -3,8 +3,6 @@ # Visual Studio 2010 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SilverlightGlimpse", "SilverlightGlimpse\SilverlightGlimpse.csproj", "{BB51026B-2864-4389-AACA-0BBDF1926E46}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SilverlightGlimpse.Test", "SilverlightGlimpse.Test\SilverlightGlimpse.Test.csproj", "{212DBD25-6C98-45EB-9974-51D04D8B6549}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SilverlightValidation", "SilverlightValidation\SilverlightValidation.csproj", "{0C1CC1FC-915A-4428-8952-CDC79EABC3F4}" EndProject Global @@ -17,10 +15,6 @@ {BB51026B-2864-4389-AACA-0BBDF1926E46}.Debug|Any CPU.Build.0 = Debug|Any CPU {BB51026B-2864-4389-AACA-0BBDF1926E46}.Release|Any CPU.ActiveCfg = Release|Any CPU {BB51026B-2864-4389-AACA-0BBDF1926E46}.Release|Any CPU.Build.0 = Release|Any CPU - {212DBD25-6C98-45EB-9974-51D04D8B6549}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {212DBD25-6C98-45EB-9974-51D04D8B6549}.Debug|Any CPU.Build.0 = Debug|Any CPU - {212DBD25-6C98-45EB-9974-51D04D8B6549}.Release|Any CPU.ActiveCfg = Release|Any CPU - {212DBD25-6C98-45EB-9974-51D04D8B6549}.Release|Any CPU.Build.0 = Release|Any CPU {0C1CC1FC-915A-4428-8952-CDC79EABC3F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0C1CC1FC-915A-4428-8952-CDC79EABC3F4}.Debug|Any CPU.Build.0 = Debug|Any CPU {0C1CC1FC-915A-4428-8952-CDC79EABC3F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
--- a/SilverlightGlimpse/SilverlightGlimpse/Bugs.txt Mon Apr 23 22:43:53 2012 +0100 +++ b/SilverlightGlimpse/SilverlightGlimpse/Bugs.txt Mon Apr 23 23:07:23 2012 +0100 @@ -1,2 +1,3 @@ Colours for the numbers -Numbers on tab headers \ No newline at end of file +Numbers on tab headers +Margin on the open position \ No newline at end of file
--- a/SilverlightGlimpse/SilverlightGlimpse/Services/Glimpse.cs Mon Apr 23 22:43:53 2012 +0100 +++ b/SilverlightGlimpse/SilverlightGlimpse/Services/Glimpse.cs Mon Apr 23 23:07:23 2012 +0100 @@ -19,7 +19,7 @@ private static Glimpse _instance; private DispatcherTimer _refreshBindingCountTimer; private static readonly TimeSpan FiveSeconds = new TimeSpan(0, 0, 0, 5); - private const int MAX_LOG_ITEMS = 5; + private const int MAX_LOG_ITEMS = 9; private readonly ILogWriter _logWriter; private readonly IBrokenBindingsService _brokenBindingsService; #endregion
--- a/SilverlightGlimpse/SilverlightGlimpse/Views/ValidationsViewer.xaml Mon Apr 23 22:43:53 2012 +0100 +++ b/SilverlightGlimpse/SilverlightGlimpse/Views/ValidationsViewer.xaml Mon Apr 23 23:07:23 2012 +0100 @@ -12,7 +12,7 @@ Margin="5,0,0,0" Text="Action" /> <TextBlock Width="110" Text="Control Name" /> - <TextBlock Width="140" Text="Type" /> + <TextBlock Width="130" Text="Type" /> <TextBlock Width="150" Text="Error" /> </StackPanel> @@ -22,7 +22,7 @@ <StackPanel Orientation="Horizontal" ToolTipService.ToolTip="{Binding ToStringProperty}"> <TextBlock Width="75" Text="{Binding Action}" /> <TextBlock Width="110" Text="{Binding ControlName}" /> - <TextBlock Width="140" Text="{Binding ControlType}" /> + <TextBlock Width="130" Text="{Binding ControlType}" /> <TextBlock Text="{Binding ErrorContent}" /> </StackPanel> </DataTemplate>
--- a/SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml Mon Apr 23 22:43:53 2012 +0100 +++ b/SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml Mon Apr 23 23:07:23 2012 +0100 @@ -99,16 +99,17 @@ Width="20" Description="Required" /> - <TextBlock x:Name="tbDescription" - Grid.Row="5" + <TextBlock Grid.Row="5" Grid.Column="1" Style="{StaticResource LabelStyle}" Text="Description:" /> - <TextBox Grid.Row="5" + <TextBox x:Name="tbDescription" + Grid.Row="5" Grid.Column="2" Style="{StaticResource TextBoxStyle}" - Text="{Binding IncorectBindingPath}" /> + Text="{Binding DescriptionWithATypeo}" /> + <StackPanel Grid.Row="6" Grid.Column="2" HorizontalAlignment="Right"
--- a/SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml.cs Mon Apr 23 22:43:53 2012 +0100 +++ b/SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml.cs Mon Apr 23 23:07:23 2012 +0100 @@ -21,7 +21,7 @@ this.DataContext = vm; // uncomment this exception to view exception on startup - //ThrowNestedException(); + //ThrowException(); } private void DatePicker_KeyDown(object sender, KeyEventArgs e) @@ -32,13 +32,12 @@ private void btnThrowException_OnClick(object sender, RoutedEventArgs e) { - ThrowNestedException(); + ThrowException(); } - private void ThrowNestedException() + private void ThrowException() { - throw new Exception("Oh dear we've hit an exception!", - new Exception("This is an inner exception")); + throw new Exception("Oh dear we've hit an exception!"); } } } \ No newline at end of file