AddSurvery.xaml
上传用户:jxqhsy
上传日期:2020-12-31
资源大小:1793k
文件大小:5k
- <UserControl xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" x:Class="SFGS.AddSurvery"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Width="960" Height="700">
- <Grid x:Name="LayoutRoot1" Background="White" ShowGridLines="False">
- <Grid.RowDefinitions>
- <RowDefinition Height="100"/>
-
- <RowDefinition Height="40"/>
-
- <RowDefinition Height="40"/>
-
- <RowDefinition Height="40"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition Width="375"/>
- <ColumnDefinition Width="70"/>
- <ColumnDefinition Width="70"/>
- </Grid.ColumnDefinitions>
- <HyperlinkButton x:Name="start" Grid.Row="1" Grid.Column="0" Click="start_Click" Content="start"></HyperlinkButton>
- <HyperlinkButton x:Name="entertitle" Grid.Row="2" Grid.Column="0" Click="entertitle_Click" Content="enter title"></HyperlinkButton>
- <HyperlinkButton x:Name="enterdes" Grid.Row="3" Grid.Column="0" Click="enterdes_Click" Content="enter description"></HyperlinkButton>
- <HyperlinkButton x:Name="addquestion" Grid.Row="4" Grid.Column="0" Click="addquestion_Click" Content="add question"></HyperlinkButton>
- <HyperlinkButton x:Name="done" Grid.Row="5" Grid.Column="0" Click="done_Click" Content="done"></HyperlinkButton>
-
- <Canvas Visibility="Collapsed" Width="300" Height="200" Background="White" x:Name="cn2" Grid.RowSpan="5" Grid.Row="1" Grid.Column="1">
- <TextBlock Canvas.Left="1" Canvas.Top="1">enter a title for survery</TextBlock>
- <TextBox Canvas.Left="1" Canvas.Top="30" ScrollViewer.VerticalScrollBarVisibility="Auto" Width="300" Name="Title"></TextBox>
- </Canvas>
- <Canvas Visibility="Collapsed" Width="300" Height="200" Background="White" x:Name="cn1" Grid.RowSpan="5" Grid.Row="1" Grid.Column="1">
- <TextBlock Canvas.Left="1" Canvas.Top="1">welcome to read ,As you can add a survey</TextBlock>
- </Canvas>
- <Canvas Visibility="Collapsed" Width="300" Height="200" Background="White" x:Name="cn3" Grid.RowSpan="5" Grid.Row="1" Grid.Column="1">
- <TextBlock Canvas.Left="1" Canvas.Top="1">enter a description for survery</TextBlock>
- <TextBox Canvas.Left="1" Canvas.Top="30" Name="Description" Width="300" Height="100" ScrollViewer.VerticalScrollBarVisibility="Auto"></TextBox>
- </Canvas>
-
- <Canvas Visibility="Collapsed" Width="300" Height="200" Background="White" x:Name="cn4" Grid.RowSpan="5" Grid.Row="1" Grid.Column="1">
- <TextBlock Canvas.Left="1" Canvas.Top="1">enter a query for survery</TextBlock>
- <TextBox Canvas.Left="1" Canvas.Top="30" Width="300" Height="100" Name="Question" ScrollViewer.VerticalScrollBarVisibility="Auto"></TextBox>
- <Grid Canvas.Left="1" Canvas.Top="150" x:Name="LayoutRoot2" Background="White" ShowGridLines="True">
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="50"/>
- <ColumnDefinition Width="50"/>
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Row="0" Grid.Column="0">A</TextBlock>
- <TextBox x:Name="questionA" Width="200" Grid.Row="0" Grid.Column="1"></TextBox>
- <TextBlock Grid.Row="1" Grid.Column="0">B</TextBlock>
- <TextBox x:Name="questionB" Width="200" Grid.Row="1" Grid.Column="1"></TextBox>
- <TextBlock Grid.Row="2" Grid.Column="0">B</TextBlock>
- <TextBox x:Name="questionC" Width="200" Grid.Row="2" Grid.Column="1"></TextBox>
- <TextBlock Grid.Row="3" Grid.Column="0">D</TextBlock>
- <TextBox x:Name="questionD" Width="200" Grid.Row="3" Grid.Column="1"></TextBox>
- <Button x:Name="Save" Click="Save_Click" Grid.Row="4" Content="Save" Grid.ColumnSpan="2" Grid.Column="0"></Button>
- </Grid>
- </Canvas>
- <TextBox x:Name="id" Visibility="Collapsed" Text=""></TextBox>
- <Button x:Name="preview" Content="preview" Click="preview_Click" Grid.Row="6" Grid.Column="2"></Button>
- <Button x:Name="next" Content="next" Click="next_Click" Grid.Row="6" Grid.Column="3"></Button>
- </Grid>
- </UserControl>