コード例 #1
0
 private void ghPythonGrasshopperHelpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         var helpForm = new GH_HtmlHelpPopup();
         if (!helpForm.LoadObject(_component))
         {
             return;
         }
         helpForm.SetLocation(Cursor.Position);
         helpForm.Show(Grasshopper.Instances.DocumentEditor);
     }
     catch (Exception ex)
     {
         LastHandleException(ex);
     }
 }
コード例 #2
0
ファイル: PythonScriptForm.cs プロジェクト: jhaazpr/decodes
 private void ghPythonGrasshopperHelpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
       {
     var helpForm = new GH_HtmlHelpPopup();
     if (!helpForm.LoadObject(_component)) return;
     helpForm.SetLocation(Cursor.Position);
     helpForm.Show(Grasshopper.Instances.DocumentEditor);
       }
       catch (Exception ex)
       {
     LastHandleException(ex);
       }
 }