|
|
|
@ -2,27 +2,31 @@
@@ -2,27 +2,31 @@
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" |
|
|
|
|
xmlns:System="clr-namespace:System;assembly=mscorlib" |
|
|
|
|
xmlns:aa="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Reporting" |
|
|
|
|
xmlns:ics="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Reporting" |
|
|
|
|
xmlns:System="clr-namespace:System;assembly=mscorlib" |
|
|
|
|
xmlns:sdr="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Reporting" |
|
|
|
|
|
|
|
|
|
Title="Base Settings" |
|
|
|
|
Description="Basic Settings and Layout" |
|
|
|
|
Background="LightGray"> |
|
|
|
|
Background="LightGray" |
|
|
|
|
CanFinish="true"> |
|
|
|
|
|
|
|
|
|
<!-- Enter="WizardPage_Enter" |
|
|
|
|
Leave="WizardPage_Leave"--> |
|
|
|
|
|
|
|
|
|
<!-- !xctk:WizardPage x:Class="ICSharpCode.Reporting.Addin.ReportWizard.Dialog.PageWithContext"--> |
|
|
|
|
<xctk:WizardPage.Resources> |
|
|
|
|
<ObjectDataProvider x:Key="dataFromEnum" MethodName="GetValues" |
|
|
|
|
ObjectType="{x:Type System:Enum}"> |
|
|
|
|
<ObjectDataProvider.MethodParameters> |
|
|
|
|
<x:Type TypeName="aa:PushPullModel"/> |
|
|
|
|
</ObjectDataProvider.MethodParameters> |
|
|
|
|
</ObjectDataProvider> |
|
|
|
|
<ObjectDataProvider x:Key="pushpullEnum" MethodName="GetValues" |
|
|
|
|
ObjectType="{x:Type System:Enum}"> |
|
|
|
|
<ObjectDataProvider.MethodParameters> |
|
|
|
|
<x:Type TypeName="sdr:PushPullModel"/> |
|
|
|
|
</ObjectDataProvider.MethodParameters> |
|
|
|
|
</ObjectDataProvider> |
|
|
|
|
|
|
|
|
|
<ObjectDataProvider x:Key="reportTypeEnum" MethodName="GetValues" |
|
|
|
|
ObjectType="{x:Type System:Enum}"> |
|
|
|
|
<ObjectDataProvider.MethodParameters> |
|
|
|
|
<x:Type TypeName="sdr:ReportType"/> |
|
|
|
|
</ObjectDataProvider.MethodParameters> |
|
|
|
|
</ObjectDataProvider> |
|
|
|
|
</xctk:WizardPage.Resources> |
|
|
|
|
|
|
|
|
|
<Grid ShowGridLines="true"> |
|
|
|
|
|
|
|
|
|
<Grid > |
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
<RowDefinition Height="Auto"> </RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
@ -30,10 +34,10 @@ xmlns:aa="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Repor
@@ -30,10 +34,10 @@ xmlns:aa="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Repor
|
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition> |
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition></ColumnDefinition> |
|
|
|
@ -43,14 +47,17 @@ xmlns:aa="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Repor
@@ -43,14 +47,17 @@ xmlns:aa="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Repor
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
|
|
<Label Content="DataModel :"></Label> |
|
|
|
|
<!--<RadioButton Name="_FormSheet" GroupName="DataModel" Content="FormSheet" Margin="0,5,0,5" Grid.Row="1" ></RadioButton> |
|
|
|
|
<RadioButton Name="_PushModel" GroupName="DataModel" Content="PushModel" Margin="0,5,0,5" Grid.Row="1" Grid.Column="1"></RadioButton> |
|
|
|
|
--> |
|
|
|
|
<ComboBox ItemsSource="{Binding Source={StaticResource dataFromEnum}}" Grid.Column="1" ></ComboBox> |
|
|
|
|
|
|
|
|
|
<ComboBox Name="_DataModel" Margin="10,5,0,5" |
|
|
|
|
Grid.Column="1" |
|
|
|
|
ItemsSource="{Binding Source={StaticResource pushpullEnum}}"> |
|
|
|
|
</ComboBox> |
|
|
|
|
|
|
|
|
|
<Label Content="ReportType :" Margin="0,5,0,5" Grid.Row="2"></Label> |
|
|
|
|
<RadioButton Name="_FormSheetType" GroupName="ReportType" Content="FormSheet" Margin="0,5,0,5" Grid.Row="3" ></RadioButton> |
|
|
|
|
<RadioButton Name="_DataModelType" GroupName="ReportType" Content="PushModel" Margin="0,5,0,5" Grid.Row="3" Grid.Column="1"></RadioButton> |
|
|
|
|
<ComboBox Name="_ReportType" Margin="10,5,0,5" |
|
|
|
|
Grid.Row="2" Grid.Column="1" |
|
|
|
|
ItemsSource="{Binding Source={StaticResource reportTypeEnum}}"> |
|
|
|
|
</ComboBox> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Content="Report Name :" Margin="0,5,0,5" Grid.Row="4"></Label> |
|
|
|
|
<TextBox Name="_ReportName" Margin="10,5,0,5" Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="3"></TextBox> |
|
|
|
@ -59,8 +66,8 @@ xmlns:aa="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Repor
@@ -59,8 +66,8 @@ xmlns:aa="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Repor
|
|
|
|
|
<TextBox Name="_Filename" Margin="10,5,0,5" Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="3"></TextBox> |
|
|
|
|
|
|
|
|
|
<Label Content="Page Layout :" Grid.Row="6" Margin="0,5,0,5"></Label> |
|
|
|
|
<RadioButton Name="_Legal" GroupName="PageLayout" Content="Legal" Grid.Row="7" Margin="0,5,0,5" ></RadioButton> |
|
|
|
|
<RadioButton Name="_Landscape" GroupName="PageLayout" Content="Landscape" Grid.Row="7" Grid.Column="1" Margin="0,5,0,5"></RadioButton> |
|
|
|
|
<RadioButton Name="_Legal" GroupName="PageLayout" Content="Legal" IsChecked="true" Grid.Row="7" Margin="0,5,0,5" ></RadioButton> |
|
|
|
|
<RadioButton Name="_Landscape" GroupName="PageLayout" Content="Landscape" Grid.Row="7" Grid.Column="1" Margin="0,5,0,5"></RadioButton> |
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
</xctk:WizardPage> |