RespondToMouseDoubleClick(Grasshopper.GUI.Canvas.GH_Canvas sender, Grasshopper.GUI.GH_CanvasMouseEvent e) { if (ContentBox.Contains(e.CanvasLocation)) { NelderMeadClass sc = Owner as NelderMeadClass; ((NelderMeadClass)this.Owner).ShowForm(); sc.ExpireSolution(true); return(Grasshopper.GUI.Canvas.GH_ObjectResponse.Handled); } return(Grasshopper.GUI.Canvas.GH_ObjectResponse.Ignore); }
public MyAttributes(NelderMeadClass owner) : base(owner) { }