Analyzing User Interface Needs

During the requirements analysis, we have identified a number of attributes that are user-customizable. Obviously, users must enter the text to be rendered in addition to selecting font, color, and orientation. The easiest way to collect all this information is through a Windows Form. This form can combine all inputs for the 3D text feature by providing controls for text, font, color, positions, and rotation. Figure 9.1 shows the desired layout for this form.

Figure 9.1. 3D Text Form

graphics/09fig01.gif

.NET provides access to Windows common dialogs for selecting a font and picking a color. These dialogs, shown in Figure 9.2, can be invoked by pressing the corresponding button on the 3D text form.

Figure 9.2. Font (Top) and Color Picker Forms

graphics/09fig02.jpg





. NET-A Complete Development Cycle
.NET-A Complete Development Cycle
ISBN: 0321168828
EAN: 2147483647
Year: 2005
Pages: 123
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net