Shuxia Ning
2024-11-19 a01861a95ede48fa4979a47b24f21616e362e534
WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/ProjectResultShowPanel.cs
@@ -1,6 +1,4 @@
using NetTaste;
namespace HStation.WinFrmUI
namespace HStation.WinFrmUI
{
    public partial class ProjectResultShowPanel : DevExpress.XtraEditors.XtraUserControl, IWizardPage<ImportXhsProjectViewModel>
    {
@@ -21,12 +19,13 @@
        public async void InitialPage(ImportXhsProjectViewModel vm)
        {
            _vm = vm;
            this.txtAddress.EditValue = _vm.Address;
            this.txtAddress.Text = _vm.Address;
            this.mapSetSimpleMarkerContainer1.LoadCompletedEvent += MapSetSimpleMarkerContainer1_LoadCompletedEvent;
            await this.mapSetSimpleMarkerContainer1.InitialContainer();
            xhsProjectInfoCtrl1.SetBindingData(_vm);
            await xhsProjectHydroInfoCtrl1.SetBindingData(_vm.ProjectID ?? 0);
            await xhsProjectBimfaceInfoCtrl1.SetBindingData(_vm.ProjectID ?? 0);
            this.xhsProjectSimulationAnalysisCtrl1.SetBindingData(vm.RevitModel);
        }
        //地图加载完成