Curriculum WPF Authoring Learning Step Three (Help)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.