/// <summary>
 /// 显示金商账户信息
 /// </summary>
 /// <param name="dealerAccount">选中的某个金商账户</param>
 public void ShowDealerAccountInfo(ClientAccount clientAccount)
 {
     clone = (ClientAccount)clientAccount.Clone();
     OrgInfo org = POrgList.FirstOrDefault(p=>p.OrgName==clone.AccInfo.OrgName);
     this.clientAccount = clientAccount;
     dealerView = new DealerAccountInfoWindow
     {
         POrgList = this.POrgList,
         Owner = Application.Current.MainWindow,
         CurOrgInfo=org,
         DataContext = clone,
     };
     dealerView.ComitEvent += new Action(ShowDealerAccountInfo);
     dealerView.ShowDialog();
 }
        /// <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);
            }
        }
 /// <summary>
 /// 显示客户账户信息
 /// </summary>
 /// <param name="clientAccount">选中的某个客户账户</param>
 public void ShowAccountInfo2(ClientAccount clientAccount)
 {
     clone = (ClientAccount)clientAccount.Clone();
     this.clientAccount = clientAccount;
     clientView = new ClientAccountInfoWindow
     {
         Owner = Application.Current.MainWindow,
         POrgList=this.POrgList,
         DataContext = clone,
         Banks = this.Banks,
     };
     clientView.ComitEvent = ShowAccInfo;
     clientView.ShowDialog();
     
 }