Exercise - Control Events
- Close all open tabs in visual studio. (right click on one of the tabs and select close all documents).
- Open ShowProducts controller.
- Go to the Form.
- Expand the form size and drop a button by dragging it from the Toolbox.
- Change the Text property of the button to "Total Units"
- Create a Click event and display a message – "Total Units : will be displayed soon".
- Save changes to Git.
- Build and test.
- Bind the back color of the UnitsOnOrder textboox to show the following colors:
- Red if UnitsOnOrder equal to zero.
- Yellow if UnitsOnOrder is greater then zero and equal or smaller then 10.
- Green if UnitsOnOrder is greater then 10.
- Save changes to Git.
- build and test.
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com