You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
654 B

3 years ago
using ECMonitor.Page.Name;
using Prism.Events;
using Prism.Regions;
using System.Windows.Controls;
namespace ECMonitor.Page.CameraMonitor
{
/// <summary>
/// FrmMain.xaml 的交互逻辑
/// </summary>
public partial class Main : UserControl
{
public Main(IRegionManager regionManager, IEventAggregator ea)
{
InitializeComponent();
_ = regionManager.RegisterViewWithRegion(RegionsName.CameraMonitorLeft, typeof(CameraTreeView));
_ = regionManager.RegisterViewWithRegion(RegionsName.CameraMonitorCenter, typeof(CameraVideo));
_ = regionManager.RegisterViewWithRegion(RegionsName.CameraMonitorRight, typeof(CameraAdjust));
}
}
}