Files
XplorePlane/XP.ReportEngine/Views/ReportDemoWindow.xaml.cs

22 lines
647 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Windows;
using XP.ReportEngine.ViewModels;
namespace XP.ReportEngine.Views
{
/// <summary>
/// 报告生成演示窗口 | Report generation demo window
/// </summary>
public partial class ReportDemoWindow : Window
{
/// <summary>
/// 构造函数(通过 DI 注入 ViewModel| Constructor (ViewModel injected via DI)
/// </summary>
/// <param name="viewModel">报告演示 ViewModel | Report demo ViewModel</param>
public ReportDemoWindow(ReportDemoViewModel viewModel)
{
InitializeComponent();
DataContext = viewModel;
}
}
}