1

我想在silverlight 4 中执行此操作,实际上我正在silverlight 4 Richtextbox 中执行邮件合并模块。我想在邮件合并字段单击邮件合并选项卡时插入标签字段。我怎么能做到这一点。我需要做什么?

我添加了名字、姓氏和职位。现在我想做的只是在从邮件合并选项卡单击名字时在richtextbox 中插入名字。

在此处输入图像描述

public List<Employee> Employees
    {
        get
        {
            return employees;
        }
    }
private List<Employee> employees = new List<Employee>()
                {
                    new Employee()
                    {
                        FirstName = "Andrew",
                        LastName = "Fuller", 
                        JobTitle = "Director - Finance",
                    }, 
                    new Employee()
                    {
                        FirstName = "Nancy",
                        LastName = "Davolio", 
                        JobTitle = "Director - Human Resources",
                    },
                    new Employee()
                    {
                        FirstName = "Robert",
                        LastName = "King", 
                        JobTitle = "Engineering Design Manager",
                    },
                    new Employee()
                    {
                        FirstName = "Margaret",
                        LastName = "Peacock", 
                        JobTitle = "Finance & Investments Officer",
                    }
                };
4

0 回答 0