In general, now is to identify requirements and project plans to start every step, and finally complete the project, and then I am the project is to take a step, each time thinking how to add the effect of the final integration, so that the post-integration pressure will be great;
So it is recommended to do a result before you must make plans and steps, step by step, both harvest, but also full of sense of accomplishment (excerpt from a national project of Great Theology 0.0);
The third part of the curriculum is: set the editing function for each time period;
My idea is as follows:
1. In the overall curriculum, the most downward setting of two buttons, one is the Edit button, and the other is the Save button;
2. Click the Edit button and a button (Add/edit) will appear in each time period;
3. Click on a Add/edit button will appear a Window,window inside the prompt course name, classroom teacher, single-week, class location input information;
4. Click the Save button to save the corresponding changes and edits;
After practice found that I need to create 8*7 = 56 button, because of the limited knowledge of the current can only manually knock 56 code, and take a different name for the operation, first found that it is so troublesome do not know how easy to operate (want to create dynamically through the function but can not give the button to take the name of the flag), And I hope that the gods will have an idea to give me a little bit of a chat ....
Because the background data binding does not have many ideas, nor so now think about how to set up the interface and then save the data, there may be bad place, take a step to calculate the amount of ~
Then I want to change my mind:
1. In the overall curriculum, the most downward setting of two buttons, one is the Edit button, and the other is the Save button;
2. Click the Edit button to have the textbox appear within each time period and then edit the content to save '
But because do not know how to implement data binding and save, and again open after the Save content display, please help, I will also try to check information and learning ~
General assistance is as follows:
1. How to achieve dynamic creation of multiple buttons and named with different x:name;
2. How to achieve data preservation;
Curriculum WPF Authoring Learning Step Three (Help)