C # developers ' difficulties with the WinForm program interface

Source: Internet
Author: User

Long time no blog, hands are unfamiliar, do not know where to start, not to write a place to correct and contain, I hope that the next series of articles can provide help to WinForm developers to achieve a lightweight, efficient WinForm interface solution.

Earlier I was doing B/s development, the development model of B/s, as well as the pursuit of beauty has remained in my heart, I think for every beauty of the programmer is also so, like women want to have beautiful clothes to wear every day, and for a programmer is their own projects not only robust but also pleasing to the eye. Due to the needs of the work, I turned to the medical industry client development, began to focus on WinForm, and WinForm's project interface is too low-key, for the WinForm developer interface Untold, so I hope that WinForm can also make a top-level interface experience, Based on such a goal and psychological appeal I began a number of column research, to let WinForm developers, through the control of simple settings to complete the 360 security guards, Tencent QQ, such as user experience and the interface is very good project.

So let's get started. Want to be interested can discuss together, I will continue to improve the control function.

In recent days just the main form of processing, my first goal is to achieve although not much praise, but it is common, user experience can be counted, 360 security guards.

I simulated 360 of the pyramid skin (the top right corner of the skin button to open the second row after the third), the picture is a simple screenshot tool next as the material, put into the simulation program.

Figure 1: Implementing the effect

Figure 2: Comparison chart

You can see the form I finished, I set the border shadow to red to make a distinction, although some positions are not very precise compared to 360, but each of the above features is true.

Draw a WinForm form without a system border I made the following steps:

1. Redraw the WinForm form with its own border (you need to set the border style to none)

2, draw the upper right corner of the button: off, minimize and set

3, Border Shadow

4. Tile background

So the main form is basically done, and the rest is the layout at the appropriate location and the protection of buttons and pictures.

360 Main interface Simulation complete, happy!! Seemingly simple, each step is very difficult, interested can give advice and advice to me.

Almost forgot: NetSkin.dll and program If necessary I will put it up later, near down I will go back to simulate more applications.

Netskin Goal: WinForm developers do not need to write any code to make a beautiful interface program.

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.