ContactUs.xaml
上传用户:jxqhsy
上传日期:2020-12-31
资源大小:1793k
文件大小:2k
- <UserControl x:Class="SFGS.ContactUs"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Width="500" Height="300">
- <Grid x:Name="LayoutRoot" Background="AliceBlue" ShowGridLines="False">
- <Grid.RowDefinitions>
- <RowDefinition Height="15"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="15"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="15"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="15"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="45"/>
- <ColumnDefinition Width="200"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Row="1" Grid.Column="1" Text="Name:" VerticalAlignment="Center" Foreground="Black"></TextBlock>
- <TextBlock Grid.Row="3" Grid.Column="1" Text="Age:" VerticalAlignment="Center" Foreground="Black"></TextBlock>
- <TextBlock Grid.Row="5" Grid.Column="1" Text="Query:" VerticalAlignment="Center" Foreground="Black"></TextBlock>
- <TextBox x:Name="Name" Grid.Row="1" Grid.Column="2" Width="200" Height="30" HorizontalAlignment="Left"></TextBox>
- <TextBox x:Name="Age" Grid.Row="3" Grid.Column="2" Width="200" Height="30" HorizontalAlignment="Left"></TextBox>
- <TextBox x:Name="Query" Grid.Row="5" ScrollViewer.VerticalScrollBarVisibility="Auto" Grid.Column="2" Width="200" Height="50" HorizontalAlignment="Left"></TextBox>
- <TextBlock Grid.Row="1" Grid.Column="3" Text="*" VerticalAlignment="Center" Foreground="Red"></TextBlock>
- <TextBlock Grid.Row="3" Grid.Column="3" Text="* Must be a number" VerticalAlignment="Center" Foreground="Red"></TextBlock>
- <TextBlock Grid.Row="5" Grid.Column="3" Text="*" VerticalAlignment="Center" Foreground="Red"></TextBlock>
- <Button x:Name="sub" Click="sub_Click" Grid.Row="7" Grid.Column="2" Width="150" Height="30" Content="Submit"></Button>
- </Grid>
- </UserControl>