Hello
I Have test a custom Eto Panel inside a global class
public class EtoHelper
{
// ... static methods ...
[System.Runtime.InteropServices.Guid("9A5396ED-C99B-42C6-8712-F288AF470947")]
public class RhPanel : Panel, System.Windows.Forms.IWin32Window
{
public RhPanel() { /*....*/ }
}
}
and I have an error: “need a constructor with uint, Rhino or no parameters”
but if I remove the static method and change the global class by a namespace all is ok.
namespace EtoHelper
{
[System.Runtime.InteropServices.Guid("9A5396ED-C99B-42C6-8712-F288AF470947")]
public class RhPanel : Panel, System.Windows.Forms.IWin32Window
{
public RhPanel() { /*....*/ }
}
}
Is this normal?
my code take the template of @dale : https://github.com/dalefugier/SampleCsEto/blob/master/Views/SampleCsEtoPanel.cs