nerdexam
Microsoft

98-361 · Question #289

You need a Windows Form similar to the W_RecForm form that is being already used by the application. However, you need a couple of extra controls on your form that are not available on W_RecForm…

The correct answer is B. Use visual inheritance to inherit the new form from W_RecForm. Add the new functionality. See the full explanation below for the reasoning.

Question

You need a Windows Form similar to the W_RecForm form that is being already used by the application. However, you need a couple of extra controls on your form that are not available on W_RecForm. You need to make sure that you accomplish this requirement with the least coding effort. In future, if the W_RecForm is enhanced, you need to make sure that those enhancements are available in your form as well. What should you do?

Options

  • ACopy the code for W_RecForm to a new form. Modify the code for the new form.
  • BUse visual inheritance to inherit the new form from W_RecForm. Add the new functionality
  • CModify the code for W_RecForm. Copy the code to create a new form.
  • DConvert the code in the W_RecForm to a custom control. Use the new custom control in

How the community answered

(59 responses)
  • A
    3% (2)
  • B
    81% (48)
  • C
    10% (6)
  • D
    5% (3)

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice