Software Engineering Personal Daily 2016/6/30

Source: Internet
Author: User

Software Engineering Personal Daily 2016/6/30

Today I mainly studied C#WPF's canvas and overall conceived the implementation UI design of the new slot wall feature.

Canvas is a container control for positioning, and you can control whether the content in the canvas is displayed through the Visibility property. By using the canvas control, I can switch between different interfaces in a window to complete the conversion of the slot wall interface and the score query interface.

For example:

        <canvas x:name="userregistercanvas" margin="5,5,580,400" visibility="Hidden">

With the above code, I created a new canvas named Userregistercanvas, with coordinates of 5, 5,580,400, not visible.

        <canvas x:name="userlogincanvas" margin="5,5,580,400 " visibility="Visible">

Through this code I create a new canvas named Userlogincanvas, with coordinates of 5, 5,580,400, visible.

After that I can add different content in these two canvases, then the user presses the different button to modify the Visibility property, displays the different content in the same location, completes the slot wall interface and the performance query interface conversion.

Software Engineering Personal Daily 2016/6/30

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.