private void HostChangeBankInfoBut_Click(object sender, RoutedEventArgs e)
        {
            UserControlBankInfo CngBankDeitels = new UserControlBankInfo(host, "upd");

            CngBankDeitels.OpenHostWin += AddBankDeitels_OpenHostWin;
            MaterialDesignThemes.Wpf.DialogHost.Show(CngBankDeitels, "HostLoginDialog");
        }
        private void AddHoset_Click(string obj)
        {
            MaterialDesignThemes.Wpf.DialogHost.CloseDialogCommand.Execute(null, null);
            host = new HostBO();
            host.PersonalInfo = bl.GetPersonById(obj);
            host.BankDetales  = new BankBranchBO();
            UserControlBankInfo AddBankDeitels = new UserControlBankInfo(host);

            AddBankDeitels.OpenHostWin += AddBankDeitels_OpenHostWin;
            MaterialDesignThemes.Wpf.DialogHost.Show(AddBankDeitels, "HostLoginDialog");
        }