Web design templates - 130 Control Structures: Part 1 Chapter 4 5.
130 Control Structures: Part 1 Chapter 4 5. Examine the results of the ASimpleProgram_Load method. Notice that the text in the label looks the same in Design mode as it did in Fig. 4.22. Note also that the property window still displays the value VisualC# .NET as the label s Text property and that the IDE generated code has not changed either. Select Build > Build then Debug > Start to run the program. Once the form is displayed, the text in the label reflects the property assignment in ASimpleProgram_Load (Fig. 4.24). 6. Terminate program execution. Click the close button to terminate program execution. Once again, notice that both the label and the label s Text property contain the text Visual C#.NET. The IDE generated code also contains the text VisualC#. NET, which is assigned to the label s Text property. In this chapter, we introduced program building blocks called control structures. We also discussed aspects of Windows application programming. In Chapter 5, Control Structures: Part 2, we continue our discussion of control structures by presenting additional selection and repetition structures. In addition, we also build upon the Windows application concepts presented in this chapter by creating a richer Windows application. SUMMARY Executing a series of actions in a specific order can solve many computing problems. A procedure for solving a problem in terms of the actions to execute and the order in which these actions execute is an algorithm. Program control specifies the order in which statements execute in a computer program. Pseudocode is an artificial and informal language that helps programmers develop algorithms and think out a program during the program design process. C# code corresponds closely to pseudocode. This is a property of pseudocode that makes it a useful program development tool. Normally, statements in a program execute one after the other in the order in which they appear. This is called sequential execution. Fig. 4.24 Changing a property value at runtime.
Note: If you are looking for cheap webhost to host and run your apache application check Vision apache web hosting services