Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace WindowsFormsApplication4
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- private void Form1_Paint(object sender, PaintEventArgs e)
- {
- Diagram d = new Diagram(0, 0, ClientRectangle.Width, ClientRectangle.Height, 0, 0, 20, 16, e.Graphics);
- //d.siatka(0, 0, -10, 10, -8, 8, 1, 1, Color.Green);
- d.uklad_xy(0, 0, -20, 20, -8, 8, 1, 1, 5, Color.Blue);
- d.punkt(0, 0, 1, TypPunktu.P_Kolo, Color.Red);
- d.punkt(3, 7, 1, TypPunktu.P_Kwadrat, Color.Red);
- d.punkt(-3, -5, 1, TypPunktu.P_Krzyz, Color.Red);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment