Esempio n. 1
0
 public void AddPropertySet(Snippet parent)
 {
     PropertySet pane = new PropertySet(parent);
     pane.ParentContainer = this;
     propertiesPanes.Add(pane);
     pane.DoubleClick += new EventHandler(PropertiesPaneHolder_DoubleClick);
     ToolTip tip = new ToolTip();
     tip.SetToolTip(pane, "Double click here to remove this PropertySet.");
 }
Esempio n. 2
0
 public void RemovePropertySet(PropertySet set)
 {
     this.Controls.Remove(set);
     propertiesPanes.Remove(set);
 }