duheng
2024-10-23 e1b779122eae7002f1d512bd1e8135ea8080c95f
WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/00-core/ImportXhsProjectDlg.cs
@@ -1,5 +1,7 @@
using DevExpress.XtraEditors;
using DevExpress.XtraLayout.Utils;
using HStation.WinFrmUI.Xhs;
using HStation.WinFrmUI.Xhs.Core.Properties;
namespace HStation.WinFrmUI
{
@@ -12,6 +14,8 @@
        private readonly ImportXhsProjectViewModel _vm = new();
        private ImportXhsProjectManager _wizard;
        private static bool IsAddItem = true;
        /// <summary>
        ///
@@ -33,10 +37,22 @@
                this.inputXhsProjectInfoWizardPage,
                this.setXhsProjectMapLocationWizardPage,
                this.generateXhsProjectWizardPage,
                this.importXhsProjectCompletedWizardPage
                 this.projectResultShowPanel1
            });
        }
        //删除导航条item
        private void DeleteItem()
        {
            if (stepProgressBar1.Items.Count >= 5)
            {
                for (int i = 0; i < 3; i++)
                {
                    stepProgressBar1.Items.RemoveAt(2);
                }
            }
        }
        //选择页面改变
        private void _wizard_SelectedPageChangedEvent(IWizardPage<ImportXhsProjectViewModel> page, int index)
        {