Reference no: EM13933223
(Company Logo Designer Application) Develop a Company Logo application that
allows users to design a company logo (Fig. 26.29). The application should provide the userwith RadioButtons to allow the
selection of the next shape to draw. TextBoxes should be provided to allow the user to enter the dimensions of the shapes.
a) Copying the template to your working directory. Copy the directory C: Exampl esTutori al 26Exerci sesCompanyLogo to your
C: Si mpl yVB2008 directory.
b) Opening the application's template file. Double click CompanyLogo. sl n in the CompanyLogo directory to open the
application.
c) Defining the Add Button's Click event handler. Create the Add Button's Cl i ck event handler. Define the event handler so
that the shape that users specify is drawn on the Pi ctureBox. Use the CreateGraphi cs method on the Pi ctureBox to retrieve
the Graphi cs object used to draw on the Pi ctureBox. Use the Graphi cs methods described in Fig. 26.13. Use method Col or.
FromName to create a color corresponding to the selected color in the ComboBox. [Note: The TextBoxes labeled X1 :, Y1 :,
X2: and Y2: must contain integers to draw a line. Also, the TextBoxes labeled X:, Y:, Width: and Height: must contain integers
to draw any other shape.]
d) Defining the Clear Button's Click event handler. Create the Clear Button's Cl i ck event handler, and define it so that the Pi
ctureBox is cleared. [Hint: To clear the entire Pi ctureBox, use the Pi ctureBox's Inval i date method. The Inval i date
method is often used to refresh (update) graphics of a control. By using the Inval i - date method without specifying a graphic
to draw, the Pi ctureBox clears.] Also ensure that all TextBoxes are cleared when the Clear Button is clicked.
e) Running the application. Select Debug > Start Debugging to run your application. Use the Radi oButtons and TextBoxes to
display at least one of each type of shape. Use different colors for the different shapes. Click the Clear Button to clear the
shapes.
f) Closing the application. Close your running application by clicking its close box.
g) Closing the IDE. Close the Visual Basic IDE by clicking its close box.
Attachment:- Tutorial26.zip
Evaluate human resources service delivery
: Demonstrate the skills and knowledge required to evaluate human resources service delivery in order to determine customer satisfaction levels and recommend changes to service delivery.
|
Determine the maximum height of the mass
: Determine the maximum height h of the mass m for which the inverted pendulum will be stable in the vertical position shown. Each of the springs has a stiffness k, and they have equal precompressions in this position. Neglect the mass of the remain..
|
Determine the ramps speed
: I. Determine the ramps speed when the crate reaches B (Assume that the ramp surface and the floor are smooth) if θ=350 II. Determine the distance the ramp travels when the crate reaches B if θ=350 (Assume that the ramp surface and the floor are smo..
|
What resources and support will they need to achieve goal
: Do you have any strategies or resources that you can share to help this person clarify the steps needed to achieve their career vision? What questions do you have that would help this person shape their action plan?
|
Develop a company logo application
: Copying the template to your working directory. Copy the directory C: Exampl esTutori al 26Exerci sesCompanyLogo to your C: Si mpl yVB2008 directory.
|
Identify your firm mission and vision statements
: Select a comapny: Company AT&T, Identify your firm's Mission and Vision Statements. Describe if the current Mission and Vision Statements are effective and why
|
Is having a career is not only about making money
: What would you say to someone if they told you that their purpose or goal is to earn a master's degree and share their knowledge to others and give back to the communities? Would you consider this is a worthy cause for that individual?
|
What different methods of graphical representation of data
: What are different methods of graphical representation of data? Explain them. Distinguish Histogram and Histogram clearly with illustrations.
|
Diversity issues inherent in the organisation
: Management is supportive of positive resolution and reluctant to lose staff members. Management perceive that the conflict is the result of: • diversity issues inherent in the organisation (eg. racial, gender, sexual, religious issues)
|