Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a Windows Forms Application which contains one form and the following controls : a picture box, a group box, four buttons, and a timer.

Design a Windows Forms Application which contains one form and the following controls: a picture box, a group box, four buttons, and a timer. Set the properties of the form and all controls as shown in figure below. You should use your own image files. Please note that it is required to follow naming conventions when naming your controls and to avoid empty event handlers.

The timer control is used to gradually increase the image size every second for up to 5 seconds.

Please note that the timer will start working as soon as the form is loaded and disabled after 5 seconds.

The Click event of each button should be handled as follows:

- Move Image will change the Location property of the picture box, i.e., move the picture box to a new location

- Change Image will assign another image to the Image property of the picture box.

- Hide/Show Image will change the Visible property of the picture box to false, if it is set to true and vice versa

- Exit Program will use the MessageBox.Show() method to display the message Program will terminate first, and then terminate the program.

image text in transcribed

LAB 1 Seneca Changing Properties of Picture Box Move Image Change Image Hide/Show Image Exit Program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

A study based on

Answered: 1 week ago

Question

=+such as the dirigenti in Italy?

Answered: 1 week ago

Question

=+ Are there closed-shop requirements or practices?

Answered: 1 week ago