refactor: 将Framework库和RT、UI放在同一个解决方案中。

This commit is contained in:
SL
2026-06-01 17:48:28 +08:00
parent 1948f4290d
commit b73d39a6b1
4331 changed files with 506148 additions and 49363 deletions
@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Aitex.Core.Util;
namespace Aitex.Core.UI.View.Frame
{
public partial class StandardFrameWindow : Window
{
public UserControl TopView { set; private get; }
public UserControl CenterView { set; private get; }
public UserControl BottomView { set; private get; }
public StandardFrameWindow()
{
InitializeComponent();
this.Loaded += new RoutedEventHandler(StandardFrameWindow_Loaded);
IsVisibleChanged += new DependencyPropertyChangedEventHandler(MainWindow_IsVisibleChanged);
}
void MainWindow_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
{
}
void StandardFrameWindow_Loaded(object sender, RoutedEventArgs e)
{
if (TopView != null)
TopPanel.Children.Add(TopView);
if (CenterView != null)
CenterPanel.Children.Add(CenterView);
if (BottomView != null)
BottomPanel.Children.Add(BottomView);
}
}
}