Add QueryWindow
This commit is contained in:
19
Elwig/Windows/QueryWindow.xaml
Normal file
19
Elwig/Windows/QueryWindow.xaml
Normal file
@ -0,0 +1,19 @@
|
||||
<Window x:Class="Elwig.Windows.QueryWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="Datenbankabfragen - Elwig" Height="450" Width="800">
|
||||
<Grid>
|
||||
<TextBox x:Name="QueryInput" Text="SELECT * FROM v_delivery"
|
||||
AcceptsReturn="True" VerticalScrollBarVisibility="Visible" TextWrapping="Wrap"
|
||||
HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="10,10,120,10" Height="100"
|
||||
FontFamily="Cascadia Code Light" FontSize="13"/>
|
||||
<Button x:Name="QueryButton" Content="Abfragen"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10,10,10,10"
|
||||
Click="QueryButton_Click" Height="100" Width="100"
|
||||
FontSize="14"/>
|
||||
<DataGrid x:Name="DataList"
|
||||
AutoGenerateColumns="False" HeadersVisibility="Column" IsReadOnly="True" GridLinesVisibility="None" SelectionMode="Single"
|
||||
CanUserDeleteRows="False" CanUserResizeRows="False" CanUserAddRows="False"
|
||||
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="10,120,10,10"/>
|
||||
</Grid>
|
||||
</Window>
|
Reference in New Issue
Block a user