/// <summary>
        /// 显示管理员账户信息
        /// </summary>
        /// <param name="adminAccount">选中的某个管理员账户</param>
        public void ShowManagerAccountInfo(ClientAccount clientAccount)
        {
            ClientAccount clone = (ClientAccount)clientAccount.Clone();
            ManagerAccountInfoWindow managerView = new ManagerAccountInfoWindow
            {
                Owner = Application.Current.MainWindow,
                DataContext = clone,
            };

            if (managerView.ShowDialog() == true)
            {
                ErrType err = _businessService.ModifyClientAccountInfo(clone, _loginID);
                if (err == GeneralErr.Success)
                {
                    clientAccount.Sync(clone);
                }
                else
                    MessageBox.Show(err.ErrMsg, err.ErrTitle, MessageBoxButton.OK, MessageBoxImage.Warning);
            }
        }
        private void CreateManagerAccountExecute()
        {
            ClientAccount newClient = CreateClientAcc();
            ManagerAccountInfoWindow managerView = new ManagerAccountInfoWindow
            {
                Owner = Application.Current.MainWindow,
                DataContext = newClient,
                CreateMode = true,
            };

            if (managerView.ShowDialog() == true)
            {
                newClient.AccInfo.UserID = Guid.NewGuid().ToString("n");
                ErrType err = _businessService.AddClientAccount(newClient, UserTypeInfo.AdminType, _loginID);
                if (err == GeneralErr.Success)
                    AddClientAccount(ManagerAccountList, newClient);
                else
                {
                    MessageBox.Show(err.ErrMsg, err.ErrTitle, MessageBoxButton.OK, MessageBoxImage.Warning);
                    CreateManagerAccountExecute();
                }

            }
        }