I’m having trouble adopting our application to be used as a Rhino plugin. We are using RhinoCommon and C# to write a plugin for Rhino5 64bit. We reference the nuget package WindowsAPICodePack-Core 1.1.2 (with a small fix to work in 64bit) to show a TaskDialog with custom buttons - but it’s not working. Anyone had similar experiences? It’s working perfectly if started as NUnit test or as plugin for other CAD software.
td.Cancelable = true;
var tdb = new TaskDialogButton("tdbBtn1", "Custom Button 1"); // TaskDialogCommandLink does not work, too
tcb.Click += (s, d) => td.Close(TaskDialogResult.CustomButtonClicked);
td.Controls.Add(tcb);
the only way to close this TaskDialog is using the X.
You mean replacing in the Rhino installation folder? Wouldn’t want to do that.
I already ship my own version next to my plugin assembly, but the version from the Rhino installation folder is used. Of course I can rename the dll and link to that renamed assembly.