Cómo dibujar en el control ETIQUETA de C#, por ejemplo, dibujar una línea recta y mostrarla cuando se carga la ETIQUETA
Anule este control
usando System;
usando System.Collections.Generic;
usando System.Text;
usando Windows. .Forms;
usando System.Drawing;
clase newlabel : Etiqueta usando System.Drawing;
clase newlabel : Etiqueta
{
anulación protegida void OnPaint(PaintEventArgs e)
{
float lineHeght,lineWidth;
lineHeght = this.Height/2 ;
lineWidth = this.Width;