Step 3 of 4: Adding Code to the Application

In the previous steps you set up the application's user interface and added controls to your application. In this step you'll add code to your application to finalize it.

Complete the following steps:

1.   In Design view, double-click C1MaskedTextBox1 to switch to Code view and create the C1MaskedTextBox1_TextChanged event handler. Return to Design view and repeat this step with each of the C1MaskedTextBox controls so that they each have a C1MaskedTextBox1_TextChanged event handler.

2.   In Code view, add the following import statement to the top of the page:

      Visual Basic

      C#

3.   Add code to the C1MaskedTextBox1_TextChanged event handler so that it appears like the following:

      Visual Basic

      C#

4.   Add code to the C1MaskedTextBox2_TextChanged event handler so that it appears like the following:

      Visual Basic

      C#

5.   Add code to the C1MaskedTextBox3_TextChanged event handler so that it appears like the following:

      Visual Basic

      C#

6.   Add code to the C1MaskedTextBox4_TextChanged event handler so that it appears like the following:

      Visual Basic

      C#

In this step you completed adding code to your application. In the next step you'll run the application and observe run-time interactions.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.