Пример #1
0
 public ElementCtrl(Element e, TabPage tabpage)
 {
     InitializeComponent();
     Parent = tabpage;
     element = e;
     LoadElement();
 }
Пример #2
0
 public ElementCtrl(TabPage tabpage)
 {
     InitializeComponent();
     element = new Element();
     element.Type = "New Element";
     Parent = tabpage;
     LoadElement();
 }
Пример #3
0
 private Element newElement()
 {
     Element temp = new Element(e_id++);
     ElementDict.Add(temp.GetID(), temp);
     return temp;
 }
Пример #4
0
 public Element NewElement()
 {
     Element temp = new Element();
     //Elements.Add(e_id++, temp);
     Elements.Add(temp);
     return temp;
 }