1234567891011121314151617181920212223242526272829303132333435 |
- using FastReport;
- using System.Windows;
- namespace CustomDesigner
- {
- /// <summary>
- /// Interaction logic for MainWindow.xaml
- /// </summary>
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
- designer.Report = new Report();
- // in case you need more control over how to load the designer configuration, use this code
- /*designer.HandleWindowEvents = false;
- this.Loaded += (s, e) =>
- {
- designer.RestoreConfig();
- designer.StartAutoSave();
- };
- this.Closing += (s, e) =>
- {
- designer.ParentWindowClosing(e);
- if (!e.Cancel)
- {
- designer.SaveConfig();
- designer.StopAutoSave();
- }
- };*/
- }
- }
- }
|