コード例 #1
0
 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);
 }
コード例 #2
0
 public MyAttributes(NelderMeadClass owner) : base(owner)
 {
 }