The simplest separation line in C #

xiaoxiao2021-03-06  44

In fact, set the Label's Border attribute to fixed3D, and the height is 2 is OK.

Access code: ================================================ ====================

This.Label1.Borderstyle = system.windows.Forms.Borderstyle.Fixed3d; this.label1.location = new system.drawing.point (8, 120); this.label1.name = "label1"; this.label1.size = New system.drawing.size (344, 2);

转载请注明原文地址:https://www.9cbs.com/read-62196.html

New Post(0)