Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  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.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11. namespace WindowsFormsApplication27
  12. {
  13. public partial class Form1 : Form
  14. {
  15. public Form1()
  16. {
  17. InitializeComponent();
  18. }
  19.  
  20. private void Form1_Paint(object sender, PaintEventArgs e)
  21. {
  22. Graphics g = e.Graphics;
  23. g.Clear(Color.White);
  24. SolidBrush crvena = new SolidBrush(Color.Red);
  25. SolidBrush plava= new SolidBrush(Color.Blue);
  26. SolidBrush zelena = new SolidBrush(Color.Green);
  27. SolidBrush zuta = new SolidBrush(Color.Red);
  28. SolidBrush nara = new SolidBrush(Color.Orange);
  29. SolidBrush crn = new SolidBrush(Color.Black);
  30.  
  31. Pen crna_ol = new Pen(Color.Black, 5);
  32. Font nf= new Font("TW CE")
  33.  
  34.  
  35.  
  36. }
  37.  
  38.  
  39.  
  40. private void Form1_Load(object sender, EventArgs e)
  41. {
  42.  
  43. }
  44. }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement