186 lines
7.7 KiB
XML
186 lines
7.7 KiB
XML
<localView:BeWoView
|
|
x:Class="BeWo.View.Detail.Report.QueryView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
|
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
xmlns:localView="clr-namespace:BeWo.View"
|
|
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
|
|
Width="Auto"
|
|
Height="Auto"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Stretch"
|
|
Focusable="True">
|
|
<Grid>
|
|
|
|
<GroupBox Header="Berichte" Style="{StaticResource ObjectEditGroupBox}">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label
|
|
Width="100"
|
|
VerticalAlignment="Center"
|
|
Content="Abfrage" />
|
|
<uc:NullItemComboBox
|
|
x:Name="combo_query"
|
|
Width="Auto"
|
|
Height="23"
|
|
MinWidth="250"
|
|
Margin="3"
|
|
DisplayMemberPath="Title"
|
|
NullText="Bitte wählen..."
|
|
SelectionChanged="combo_query_SelectionChanged" />
|
|
</StackPanel>
|
|
<StackPanel
|
|
x:Name="paramterPanel"
|
|
Grid.Row="1"
|
|
Orientation="Vertical" />
|
|
<Button
|
|
x:Name="btnExecuteQuery"
|
|
Grid.Row="2"
|
|
Width="80"
|
|
Margin="0,3,0,3"
|
|
HorizontalAlignment="Left"
|
|
Click="btnExecuteQuery_Click">
|
|
Ausführen
|
|
</Button>
|
|
|
|
<TextBlock
|
|
x:Name="textblock_link_pdfexport_direct"
|
|
Grid.Row="2"
|
|
Margin="3,3,0,3"
|
|
VerticalAlignment="Center"
|
|
FontSize="14"
|
|
Visibility="Hidden">
|
|
<Hyperlink
|
|
x:Name="linkPdfExport_direct"
|
|
Foreground="#FF2B508B"
|
|
RequestNavigate="linkPdfExport_direct_RequestNavigate"
|
|
TargetName="_NewWindow">
|
|
<Run x:Name="TxtLinkExport" Text="Bericht öffnen" />
|
|
</Hyperlink>
|
|
</TextBlock>
|
|
|
|
<Grid
|
|
x:Name="GridImport"
|
|
Grid.Row="2"
|
|
Visibility="Collapsed">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label
|
|
Grid.Row="0"
|
|
Width="100"
|
|
VerticalAlignment="Center"
|
|
Content="Datei" />
|
|
<uc:PopUpEdit
|
|
Name="popupedit_file"
|
|
Grid.Row="0"
|
|
Grid.Column="1"
|
|
Width="250"
|
|
Height="23"
|
|
Margin="3"
|
|
HorizontalAlignment="Left"
|
|
DeleteButtonVisibility="Collapsed"
|
|
IsReadOnly="True"
|
|
PopUpClick="popupedit_file_PopUpClick" />
|
|
<Button
|
|
Name="button_uploadDocument"
|
|
Grid.Row="0"
|
|
Grid.Column="2"
|
|
Height="25"
|
|
Margin="3"
|
|
Click="button_uploadDocument_Click"
|
|
Content="Datei importieren"
|
|
IsEnabled="False" />
|
|
|
|
</Grid>
|
|
|
|
|
|
<dxg:GridControl
|
|
x:Name="datagrid_result"
|
|
Grid.Row="3"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Stretch"
|
|
AutoPopulateColumns="True"
|
|
Visibility="Collapsed">
|
|
|
|
<dxg:GridControl.View>
|
|
<dxg:TableView
|
|
Margin="3,22,3,3"
|
|
AllowEditing="False"
|
|
IsColumnMenuEnabled="False"
|
|
IsGroupPanelMenuEnabled="False"
|
|
IsRowCellMenuEnabled="False"
|
|
IsTotalSummaryMenuEnabled="False"
|
|
NavigationStyle="Cell"
|
|
ShowGroupPanel="False"
|
|
ShowGroupedColumns="False"
|
|
ShowTotalSummary="True" />
|
|
</dxg:GridControl.View>
|
|
<dxg:GridControl.TotalSummary>
|
|
<dxg:GridSummaryItem x:Name="summaryItem" SummaryType="Count" />
|
|
</dxg:GridControl.TotalSummary>
|
|
</dxg:GridControl>
|
|
|
|
<Grid
|
|
Grid.Row="3"
|
|
Margin="5,5,5,0"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Top">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock
|
|
x:Name="textblock_link_pdfexport"
|
|
Grid.Column="1"
|
|
Margin="5,0"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Center"
|
|
FontSize="14">
|
|
<Hyperlink
|
|
x:Name="linkPdfExport"
|
|
Foreground="{StaticResource GridPrintMenuLightBrush}"
|
|
RequestNavigate="linkPdfExport_RequestNavigate"
|
|
TargetName="_NewWindow">
|
|
<Run Text="Drucken" />
|
|
</Hyperlink>
|
|
</TextBlock>
|
|
<TextBlock
|
|
x:Name="textblock_link"
|
|
Grid.Column="2"
|
|
Margin="5,0"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Center"
|
|
FontSize="14">
|
|
<Hyperlink
|
|
x:Name="linkExcelExport"
|
|
Foreground="{StaticResource GridPrintMenuLightBrush}"
|
|
RequestNavigate="linkExcelExport_RequestNavigate"
|
|
TargetName="newWindow">
|
|
<Run Text="Excel Export" />
|
|
</Hyperlink>
|
|
</TextBlock>
|
|
</Grid>
|
|
|
|
</Grid>
|
|
</GroupBox>
|
|
</Grid>
|
|
</localView:BeWoView> |