/// <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();
 }
 private void CreateDealerAccountExecute()
 {
     newClient = CreateClientAcc();
     dealerView = new DealerAccountInfoWindow
     {
         POrgList=this.POrgList,
         //CurOrgInfo=this.POrgList.FirstOrDefault(),
         Owner = Application.Current.MainWindow,
         DataContext = newClient,
         CurOrgInfo=POrgList.FirstOrDefault(),
         CreateMode = true,
     };
     dealerView.ComitEvent += new Action(dealerView_ComitEvent);
    dealerView.ShowDialog();
 }