Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 805629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:06:42+00:00 2026-05-15T00:06:42+00:00

Do You know any good example or any good hint on how to make

  • 0

Do You know any good example or any good hint on how to make user controll that has defined text with blank areas which has to be filled out to complete excercise. Then submit answer and check (what was written in blanks and check if its good or not).

What Is the best way of doing that in order to be quite generic for example user (teacher) marks text which should be hidden.

It may be in WPF or WinForms (whatever is better for that).

thanks for any hint on how to begin and what to use.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:06:43+00:00Added an answer on May 15, 2026 at 12:06 am

    I think I would have a (WPF) UserControl derived class that can take a custom formatted string (or xml) that contains the text and the placeholders to display:

    myUserControl.DisplayContent="Rome was built in #numberofdays# day(s). The first mayor of Rome was #mayorofrome#."
    

    The UserControl parses that string and builds the UI consisting of TextBlocks (the static text) and TextBoxes (the input controls).

    Additionally the UserControl has a Property of Type Dictionary<string,string> that contain the strings entered by the user (keyed by placeholder string):

    Console.WriteLine(myUserControl.Result["numberofdays"]);
    Console.WriteLine(myUserControl.Result["mayorofrome"]);
    

    This dictionary will be filled by the UserControl as the user enters the texts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

You know how facebook has those urls like facebook.com/example that goes to the page
Do you know any book, blog, tutorial which explains in a detailed way the
In the example below, the Jquery code changes the src of the images on
I'm trying to find an example of how to convert the standard login framework
I searching people who know some experience with bug tracking on client machines, if
I am writing a contact management program. I know how to read command-line arguments,
I am using UiBinder xml files in a GWT project. The problem is that
So lately I have been toying around with how Mathematica's pattern matching and term
I need to update some cells in google doc spreadsheet on iPhone app. I've
Hi i am looking to implement my own custom file like object for an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.