shanji 3 years ago
parent
commit
2477e476fb
  1. 8
      BBWY.Client/ViewModels/MainViewModel.cs

8
BBWY.Client/ViewModels/MainViewModel.cs

@ -235,6 +235,8 @@ namespace BBWY.Client.ViewModels
} }
private void OpenSelectShop() private void OpenSelectShop()
{
try
{ {
var selectShop = new SelectShop(GlobalContext.User.DepartmentList); var selectShop = new SelectShop(GlobalContext.User.DepartmentList);
if (selectShop.ShowDialog() == true) if (selectShop.ShowDialog() == true)
@ -254,7 +256,11 @@ namespace BBWY.Client.ViewModels
} }
catch { } catch { }
} }
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "切换失败");
}
} }
private void ChooseShop(Shop shop, bool _throw = false) private void ChooseShop(Shop shop, bool _throw = false)

Loading…
Cancel
Save