fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9.  
  10. namespace WindowsFormsApplication1
  11. {
  12. public partial class Form1 : Form
  13. {
  14. public Form1()
  15. {
  16. InitializeComponent();
  17. }
  18.  
  19. private void Form1_Load(object sender, EventArgs e)
  20. {
  21.  
  22. }
  23.  
  24. private void Form1_Paint(object sender, PaintEventArgs e)
  25. {
  26. Graphics g = e.Graphics;
  27. Pen p = new Pen(Color.Gold, 3);
  28. p.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
  29. g.DrawLine(p, 10, 10, 100, 100);
  30. p.Dispose();
  31. }
  32. }
  33. }
  34.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty