コード例 #1
0
        private void HostChangeBankInfoBut_Click(object sender, RoutedEventArgs e)
        {
            UserControlBankInfo CngBankDeitels = new UserControlBankInfo(host, "upd");

            CngBankDeitels.OpenHostWin += AddBankDeitels_OpenHostWin;
            MaterialDesignThemes.Wpf.DialogHost.Show(CngBankDeitels, "HostLoginDialog");
        }
コード例 #2
0
        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");
        }