You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
|
using System.Data;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
|
|
namespace LibTest
|
|
|
|
|
|
{
|
|
|
|
|
|
public partial class UCBackground : UserControl
|
|
|
|
|
|
{
|
|
|
|
|
|
public UCBackground()
|
|
|
|
|
|
{
|
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void UCBackground_Paint(object sender, PaintEventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
Graphics g = e.Graphics;
|
|
|
|
|
|
g.Clear(Color.White);
|
|
|
|
|
|
Pen pen = Pens.Black;
|
|
|
|
|
|
g.DrawLine(pen, new Point(1, 1), new Point(200, 200));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|