2025-03-16 03:17:36 +08:00
|
|
|
|
using System.Windows;
|
2025-03-16 23:38:23 +08:00
|
|
|
|
using Seyounth.Hyosung.Data.Models;
|
|
|
|
|
using Seyounth.Hyosung.Data.Services;
|
|
|
|
|
using Seyounth.Hyosung.Runtime;
|
2025-03-16 03:17:36 +08:00
|
|
|
|
using Seyounth.Hyosung.ViewModels;
|
|
|
|
|
using Seyounth.Hyosung.Views.Pages;
|
|
|
|
|
|
|
|
|
|
namespace Seyounth.Hyosung.Views;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for MainWindow.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class MainWindow
|
|
|
|
|
{
|
|
|
|
|
public MainWindowViewModel ViewModel { get; }
|
|
|
|
|
|
2025-03-16 23:38:23 +08:00
|
|
|
|
|
2025-03-17 01:56:27 +08:00
|
|
|
|
public MainWindow(MainWindowViewModel viewModel,
|
|
|
|
|
VarietyPage varietyPage,
|
|
|
|
|
HomeViewPage homeViewPage)
|
2025-03-16 03:17:36 +08:00
|
|
|
|
{
|
|
|
|
|
ViewModel = viewModel;
|
|
|
|
|
DataContext = this;
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
VarietyFrame.Content = varietyPage;
|
2025-03-17 01:56:27 +08:00
|
|
|
|
HomeFrame.Content = homeViewPage;
|
2025-03-16 03:17:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|