diff SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml @ 77:86ed4919b126

Working version!
author Steven Hollidge <stevenhollidge@hotmail.com>
date Mon, 23 Apr 2012 22:06:05 +0100
parents a0bcd783e612
children dd6bcd2535b6
line wrap: on
line diff
--- a/SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml	Mon Apr 23 22:05:53 2012 +0100
+++ b/SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml	Mon Apr 23 22:06:05 2012 +0100
@@ -2,10 +2,6 @@
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:c="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
-               xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
-               xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
-               xmlns:p="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls"
-               xmlns:s="clr-namespace:System;assembly=mscorlib"
                xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
                Title="Add User"
                Width="500"
@@ -120,11 +116,17 @@
         <TextBox Grid.Row="5"
                  Grid.Column="2"
                  Style="{StaticResource TextBoxStyle}"
-                 Text="{Binding Description}" />
+                 Text="{Binding DONEITGAIN}" />
         <StackPanel Grid.Row="6"
                     Grid.Column="2"
                     HorizontalAlignment="Right"
                     Orientation="Horizontal">
+            <Button x:Name="btnThrowException"
+                    Width="120"
+                    Margin="0,0,50,0"
+                    Click="btnThrowException_OnClick"
+                    Content="Throw Exception"
+                    Style="{StaticResource ButtonStyle}" />
             <Button Command="{Binding OkCommand}"
                     Content="OK"
                     Style="{StaticResource ButtonStyle}" />