Exemple #1
0
 private void Form1_Paint(object sender, PaintEventArgs e)
 {
     g.Clear(Color.White);
     DrawLine.Brezhenheim(g, 50, 50, 500, 500);
 }
Exemple #2
0
 private void ActiveForm_Paint(object sender, PaintEventArgs e)
 {
     g.Clear(Color.White);
     DrawLine.DDA(g, 0, 0, 500, 500);
 }