Purpose: Demonstrate the ability to create a graphical user interface using the
ID: 3535417 • Letter: P
Question
Purpose:
Demonstrate the ability to create a graphical user interface using
the Microsoft Foundation Classes (MFC). For this
assignment you will need Microsoft Visual Studio 2010 or 2012,
professional edition. Â Â
In the OnInitDialog
function, create three accounts with varying balances.Â
Use account numbers 1111, 2222, and 3333. This will
make your program easy to test.
Â
Add a graphical
interface to the banking system http://pastebin.com/b8fCDAiV as
follows:
Â
Step
1:Â Using Visual Studio, create a dialog box that
looks like this:
Â
"https://media.cheggcdn.com/media/dc8/dc86c403-f5f9-4959-b3f3-04a990959aeb/phpl3qXVm.png"
alt="media/dc8/dc86c403-f5f9-4959-b3f3-04" />
Â
Step
2:Â If the Deposit button is pressed, deposit the
amount in the Amount control to the account and show, in the status
area, the new balance.
Â
Step
3:Â If the Withdraw button is pressed, withdraw the
amount in the Amount control and show, in the status area, the new
balance. If there isn’t enough
money to complete the withdrawal, show the account balance and a
message.
Â
Step
2:Â In general, do not let the user do invalid
things. For example, if the Amount box does not
contain a valid number, do not attempt to do a deposit or
withdrawal and let the program crash. If there is
nothing in the Account field, again, do not let your program crash
if the user presses one of the buttons. Use the status
area (a static text field, shown as
“label4†in the above screen) to
display messages. You may have difficulty changing the
background of this label; it defaults to grey.Â
Don’t worry about that.
Explanation / Answer
I have the 100% working solution. How to send you here? Contact me on my mail. its pratapudaysingh@gmail.com . whole project is about 20mb. I ll forward it on your mail. Cheers!!!
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.