Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

plz help me Question 2: Design the following form using Visual Basic: Formi Name Balance Age Create account Depost 1000 Depost Balance in Dolar Convert

plz help me

image text in transcribed

Question 2: Design the following form using Visual Basic: Formi Name Balance Age Create account Depost 1000 Depost Balance in Dolar Convert Withdraw This form contains 3 Text boxes, 3 labels and 6 buttons. Create account button: This button should create an object from the class Account. It should also assign each object property a value from the related text box. For example, the content of TextBox1 (name) should be assigned to the object property (name). The age should be generated randomly. The minimum accepted age is 18, and the maximum is 100. "Deposit 1000" button: You should call the deposit subroutine. "Deposit" button: You should first show an inputbox to the user to enter the amount he wishes to deposit into his account. Then, you should call the "deposit" subroutine and pass the entered amount. "Balance in Dollar" button: You should call the "convert" function with the default value. "Convert" button: You should first show an inputbox to the user to enter either "GBP" or "EUR". Then you should call the "convert" function and pass the entered currency as a parameter. "Withdraw" button: You should first show an inputbox to the user to enter the amount he wishes to withdraw. Then you should call the "withdraw" function and pass the entered amount as a parameter. Question 2: Design the following form using Visual Basic: Formi Name Balance Age Create account Depost 1000 Depost Balance in Dolar Convert Withdraw This form contains 3 Text boxes, 3 labels and 6 buttons. Create account button: This button should create an object from the class Account. It should also assign each object property a value from the related text box. For example, the content of TextBox1 (name) should be assigned to the object property (name). The age should be generated randomly. The minimum accepted age is 18, and the maximum is 100. "Deposit 1000" button: You should call the deposit subroutine. "Deposit" button: You should first show an inputbox to the user to enter the amount he wishes to deposit into his account. Then, you should call the "deposit" subroutine and pass the entered amount. "Balance in Dollar" button: You should call the "convert" function with the default value. "Convert" button: You should first show an inputbox to the user to enter either "GBP" or "EUR". Then you should call the "convert" function and pass the entered currency as a parameter. "Withdraw" button: You should first show an inputbox to the user to enter the amount he wishes to withdraw. Then you should call the "withdraw" function and pass the entered amount as a parameter

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_2

Step: 3

blur-text-image_3

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

22 Employer marketing and branding techniques.

Answered: 1 week ago

Question

Explain the chemical properties of acids with examples.

Answered: 1 week ago

Question

Write the properties of Group theory.

Answered: 1 week ago