Exemplo n.º 1
0
        public ViewFeat(Feat feat)
        {
            InitializeComponent();

            this.feat = feat;

            tbName.Text   = feat.GetName();
            tbPrereq.Text = feat.GetPrereq();

            rtbDesc.Document.Blocks.Clear();
            rtbDesc.Document.Blocks.Add(new Paragraph(new Run(feat.GetDesc())));
        }