Navigation:  Application Architecture > Putting it All Together >

Designing an Application Component

Previous pageReturn to chapter overviewNext page

Let’s create an application component that implements a simple text editor, with Save and Cancel buttons.  To make the example slightly more interesting, the text editor provides a word count as you type.  The user-interface is shown below.

 

We will create a class for the application component called TextEditorComponent that extends the abstract class ApplicationComponent:

public class TextEditorComponent : ApplicationComponent

{

    public TextEditorComponent()

    {

    }

}