Graph, Node and Relation initial data objects
[LivingGraph.git] / LivingGraphGui.cs
blobb34046ca56276c353d5b9987f20f361c9ad6e01a
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;
10 namespace LivingGraph
12 public partial class LivingGraphGui : Form
14 public LivingGraphGui()
16 InitializeComponent();
19 //GUI.NodeBase source = new global::LivingGraph.GUI.NodeBase();
21 //EventHandler handler = new EventHandler(roundButton_Click);
22 //source.backgroundColor = System.Drawing.Color.White;
23 //source.Location = new System.Drawing.Point(250, 170);
25 //GUI.NodeBase sink = new global::LivingGraph.GUI.NodeBase();
27 //sink.Click += handler;
28 //sink.Text = "Click Here!";
29 //sink.backgroundColor = System.Drawing.Color.White;
30 //sink.Size = new System.Drawing.Size(80, 80);
31 //sink.Location = new System.Drawing.Point(100, 30);
32 //this.Controls.Add(sink);
36 //GUI.RelationBase relation = new global::LivingGraph.GUI.RelationBase(source, sink);
37 //relation.Location = new System.Drawing.Point(0, 0);
38 //relation.Size = new System.Drawing.Size(Width, Height);
40 GUI.GraphBase gb = new global::LivingGraph.GUI.GraphBase();
41 this.Controls.Add(gb);
43 public void roundButton_Click(Object source, EventArgs e)
45 MessageBox.Show("Thank you.");