Send me a private message and I will send you what I have and we can go from there. I have both windows created and all the check boxs and labels in place. I justneed help linking the everything together. You are asked to write a C++ program to manage sub orders. You need to create two top-level windows, the main window and the dialog box. In the main window, thereis a list that displays all the sub orders placed, as shown in Figure 1. A user can click a button below the list to perform one of four operations, "Add", "Edit","Remove", and "Remove All". To add a sub order, click the "Add" button. A dialog box as shown in Figure 2 will show up. The user can enter the order info in the dialog box. To edit a sub order, select the order to be edited and then click the "Edit" button. A dialog box as shown in Figure 3 will show up. Please note all the fieldsincluding the order number will be initialized by the specs of the order to be edited. To remove a sub order, select the order to be removed and then click the "Remove" button. To remove all the orders, click the "Remove All" button. Other Requirements: You shall define a class named CSubOrder to describe a sub order and use its instance for communication between the main window and the dialog box. The order numbers shall be unique. In the order list of the main window, the order attributes have to be aligned with the corresponding headings. Please use Project3 as the project name, and MyDialog as the form name for the dialog box.
Send me a private message and I will send you what I have and we can go from there. I have both windows created and all the check boxs and labels in place. I justneed help linking the everything together.
You are asked to write a C++ program to manage sub orders. You need to create two top-level windows, the main window and the dialog box. In the main window, thereis a list that displays all the sub orders placed, as shown in Figure 1. A user can click a button below the list to perform one of four operations, "Add", "Edit","Remove", and "Remove All".
To add a sub order, click the "Add" button. A dialog box as shown in Figure 2 will show up. The user can enter the order info in the dialog box.
To edit a sub order, select the order to be edited and then click the "Edit" button. A dialog box as shown in Figure 3 will show up. Please note all the fieldsincluding the order number will be initialized by the specs of the order to be edited.
To remove a sub order, select the order to be removed and then click the "Remove" button.
To remove all the orders, click the "Remove All" button.
Other Requirements:
You shall define a class named CSubOrder to describe a sub order and use its instance for communication between the main window and the dialog box.
The order numbers shall be unique.
In the order list of the main window, the order attributes have to be aligned with the corresponding headings.
Please use Project3 as the project name, and MyDialog as the form name for the dialog box.
Step by step
Solved in 4 steps with 8 images