|
<UserControl x:Class="Framework.Silverlight.Client.CxSqlConsole"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
xmlns:Client="clr-namespace:Framework.Silverlight.Client"
>
<Grid x:Name="LayoutRoot" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<TextBox x:Name="txtSql"
AcceptsReturn="True"
TextWrapping="NoWrap"
VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Auto"
/>
<basics:GridSplitter Grid.Row="1"
HorizontalAlignment="Stretch"
Height="4"
Visibility="Visible"
Background="{StaticResource NavigationBarBackBrush}"
x:Name="splitter"
/>
<Canvas>
<Grid x:Name="resultGrid" />
</Canvas>
<ScrollViewer x:Name="resultScroll" Grid.Row="2" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="pnlResult"
Margin="0, 0, 0, 5" />
</ScrollViewer>
<!--<ListBox x:Name="resultList" Grid.Row="2">
<ListBox.ItemTemplate>
<DataTemplate>
<Client:CxSqlConsoleGrid />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>-->
<StackPanel Orientation="Horizontal" Margin="5" Grid.Row="3">
<Button x:Name="btnRun" Width="75" Content="Run" Click="btnRun_Click" Margin="0, 0, 5, 0"/>
<Button x:Name="btnclear" Width="75" Content="Clear" Click="btnclear_Click"/>
</StackPanel>
</Grid>
</UserControl>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.