c # Drawing draw a rectangle box

Since taking into account the user experience, the need to process with an intuitive way reflected

 

Sometimes the products in the production process, is not the specific data exchange.

For example, a production ended, the next product, to show users how to do this process

 

Like a long time decided to show up with a rectangular box.

 

A product is represented by a rectangular box, the box at the end of the product to change color, red, yellow, blue and green will do

My plan is not produced, diamonds are yellow, while the production process step by step, gradually turns green box color, turns red when NG product ............

 

Most of the above items are applied to the portion, according to the specific needs of the process can be altered

 

Here to talk about ways to draw a rectangular box, I summed up the two squares drawn in computing and exploration of

1. The line may be (x) and column (y) parameters, generates a rectangular block of several odd row

 

 

2 may be the total number (z) block, row and columns (y) parameter block generation arrayed one by one

 

 

Run the program to share examples:

Link: https: //pan.baidu.com/s/1BEyyj--cgU64rqBV-Aiwlg
extraction code: lwou 

Guess you like

Origin www.cnblogs.com/wl192/p/12067256.html