JD2022-TU1/main/tools/framework/JD.Application.TeaBox/View/Misc/FeedbackBox.xaml

95 lines
4.5 KiB
XML

<Window x:Class="JD.Application.View.Misc.FeedbackBox"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="285" d:DesignWidth="450"
Width="450"
Height="335"
Icon="/JD.Application;component/Resources/Icons_16x16_Feedback.png"
Title="Send Feedback"
WindowStartupLocation="CenterScreen">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.Resources>
<Style TargetType="Label">
<Setter Property="Foreground" Value="SteelBlue" />
<Setter Property="FontSize" Value="24" />
</Style>
</Grid.Resources>
<Label Grid.Row="0" Content="Tell us what you think!"/>
<Grid Grid.Row="1" Margin="5 0 10 0">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height ="2*"/>
<RowDefinition Height ="3*"/>
</Grid.RowDefinitions>
<Grid.Resources>
<Style TargetType="Label">
<Setter Property="Foreground" Value="Gray"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="FontWeight" Value="bold"/>
</Style>
</Grid.Resources>
<Label Grid.Row="0" Content="How do you feel about this tool?"/>
<Grid Grid.Row="1">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border BorderThickness="0" BorderBrush="Black" Grid.Column="0" MouseDown="SmileClick" Name="Smile" Height="32" Width="40">
<Image Source="/JD.Application;component/Resources/Icons_16x16_Smile.png" Height="24" Width="24"/>
</Border>
<Border BorderThickness="0" BorderBrush="Black" Grid.Column="1" MouseDown="FrownClick" Name="Frown" Height="32" Width="40">
<Image Source="/JD.Application;component/Resources/Icons_16x16_Frown.png" Height="24" Width="24"/>
</Border>
</Grid>
</Grid>
</Grid>
</Grid>
</Grid>
<Grid Grid.Row="2" Margin="5 0 10 0">
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.Resources>
<Style TargetType="Label">
<Setter Property="Foreground" Value="Gray"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="FontWeight" Value="bold"/>
</Style>
</Grid.Resources>
<Label Grid.Row="0" Content="Let us know why!"/>
<TextBox Grid.Row="1" Name="Description" TextWrapping="Wrap" AcceptsReturn="True"/>
</Grid>
<Grid Grid.Row="3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" xml:space="preserve">
Want to add images/content? <Hyperlink Name="EditInOutlook">Edit in Outlook</Hyperlink>.
</TextBlock>
<Button Margin="10" Name="Send" Grid.Column="1" Width="85" Height="35" Content="Send"/>
</Grid>
</Grid>
</Window>