| | |
| | | /// <summary> |
| | | /// 绑定数据 |
| | | /// </summary> |
| | | public async void SetBindingData() |
| | | public void SetBindingData() |
| | | { |
| | | _vm = new ImportXhsProjectViewModel(); |
| | | _wizard = new ImportXhsProjectManager(_vm); |
| | | _wizard.SelectedPageChangedEvent += _wizard_SelectedPageChangedEvent; |
| | | _wizard.SelectedPageStateChangedEvent += _wizard_SelectedPageStateChangedEvent; ; |
| | | await _wizard.InitialManager(new IWizardPageAsync<ImportXhsProjectViewModel>[] { |
| | | _wizard.InitialManager(new IWizardPageAsync<ImportXhsProjectViewModel>[] { |
| | | this.inputXhsProjectInfoWizardPage, |
| | | this.setXhsProjectMapLocationWizardPage, |
| | | this.generateXhsProjectWizardPage, |
| | |
| | | /// <summary> |
| | | /// 绑定数据 |
| | | /// </summary> |
| | | public async void SetBindingData(XhsProjectExtensionsVmo project, Yw.Vmo.MapInfoVmo mapInfo) |
| | | public void SetBindingData(XhsProjectExtensionsVmo project, Yw.Vmo.MapInfoVmo mapInfo) |
| | | { |
| | | _vm = new ImportXhsProjectViewModel(project, mapInfo); |
| | | _wizard = new ImportXhsProjectManager(_vm); |
| | | _wizard.SelectedPageChangedEvent += _wizard_SelectedPageChangedEvent; |
| | | _wizard.SelectedPageStateChangedEvent += _wizard_SelectedPageStateChangedEvent; ; |
| | | await _wizard.InitialManager(new IWizardPageAsync<ImportXhsProjectViewModel>[] { |
| | | _wizard.InitialManager(new IWizardPageAsync<ImportXhsProjectViewModel>[] { |
| | | this.inputXhsProjectInfoWizardPage, |
| | | this.setXhsProjectMapLocationWizardPage, |
| | | this.generateXhsProjectWizardPage, |