diff --git a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/ICSharpCode.Reporting.Addin.csproj b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/ICSharpCode.Reporting.Addin.csproj
index c1cdc982e4..9fec4e1330 100644
--- a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/ICSharpCode.Reporting.Addin.csproj
+++ b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/ICSharpCode.Reporting.Addin.csproj
@@ -150,14 +150,23 @@
BaseSettingsPage.xaml
Code
+
+ PushDataReport.xaml
+ Code
+
ReportWizard.xaml
Code
+
+ WelcomePage.xaml
+ Code
+
+
@@ -230,7 +239,9 @@
+
+
\ No newline at end of file
diff --git a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/BaseSettingsPage.xaml b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/BaseSettingsPage.xaml
index 3fd65a42db..4f200abc5b 100644
--- a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/BaseSettingsPage.xaml
+++ b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/BaseSettingsPage.xaml
@@ -4,11 +4,17 @@
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:System="clr-namespace:System;assembly=mscorlib"
xmlns:sdr="clr-namespace:ICSharpCode.Reporting.Globals;assembly=ICSharpCode.Reporting"
-
+ Name="Base"
Title="Base Settings"
Description="Basic Settings and Layout"
+ PageType="Interior"
Background="LightGray"
- CanFinish="true">
+ CanFinish="true"
+ CanSelectNextPage="false">
+
+
+
+
-
+
@@ -40,34 +46,37 @@
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/BaseSettingsPage.xaml.cs b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/BaseSettingsPage.xaml.cs
index 191c6cb858..ec357aff60 100644
--- a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/BaseSettingsPage.xaml.cs
+++ b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/BaseSettingsPage.xaml.cs
@@ -7,8 +7,14 @@
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
+using System.Drawing;
+using System.Drawing.Imaging;
+using System.IO;
using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Media.Imaging;
using ICSharpCode.Reporting.Globals;
+using ICSharpCode.SharpDevelop;
using Xceed.Wpf.Toolkit;
using ICSharpCode.Reporting.Addin.ReportWizard.ViewModels;
@@ -26,9 +32,11 @@ namespace ICSharpCode.Reporting.Addin.ReportWizard.Dialog{
InitializeComponent();
_DataModel.SelectedItem = PushPullModel.FormSheet;
_ReportType.SelectedItem = ReportType.FormSheet;
- this.context = new PageOneContext();
+ this.context = new PageOneContext();
+ this._DataModel.SelectedItem = PushPullModel.FormSheet;
+ _image.Source = WizardHelper.GetWizardIcon();
}
-
+
public IWizardContext Context {
get{
@@ -41,16 +49,29 @@ namespace ICSharpCode.Reporting.Addin.ReportWizard.Dialog{
}
- void UpdateContext()
- {
+ void UpdateContext(){
context.DataModel = (PushPullModel) _DataModel.SelectedItem;
context.ReportType = (ReportType) _ReportType.SelectedItem;
context.ReportName = this._ReportName.Text;
context.FileName = this._Filename.Text;
context.Legal = _Legal.IsChecked == true;
- ;
context.Landscape = _Landscape.IsChecked == true;
}
+
+
+ void _DataModel_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e){
+ var cbo = (ComboBox) sender;
+
+ if (((PushPullModel)cbo.SelectedItem) == PushPullModel.FormSheet) {
+ this.CanFinish = true;
+ this.CanSelectNextPage = false;
+ this._ReportType.SelectedItem = ReportType.FormSheet;
+ } else {
+ this._ReportType.SelectedItem = ReportType.DataReport;
+ this.CanFinish = false;
+ this.CanSelectNextPage = true;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/PushDataReport.xaml b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/PushDataReport.xaml
new file mode 100644
index 0000000000..4d17ce77b6
--- /dev/null
+++ b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/PushDataReport.xaml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/ReportWizard.xaml b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/ReportWizard.xaml
index 59ba6244b3..4632743569 100644
--- a/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/ReportWizard.xaml
+++ b/src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/ReportWizard/Dialog/ReportWizard.xaml
@@ -4,25 +4,41 @@
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:local="clr-namespace:ICSharpCode.Reporting.Addin.ReportWizard.Dialog"
Title="{Binding Title}"
- Height="600" Width="600">
+ Height="600" Width="800">
+
+
+
+
+
+
+
+
+
+
+ -->
+
-
-