Any WinForms gods here? Having issues with the Editor Attribute

I am encountering an issue with a software project restructuring. Initially, my solution combined server classes and UI components in a single project. To improve the architecture, I separated these into distinct UI and server projects. However, this has led to a challenge: the server can no longer directly access the UI. To elaborate, in the original setup within a unified project, I had 'ClassA' inheriting from 'UITypeEditor'. 'ClassB' utilized the attribute Editor[typeof(ClassA), typeof(UITypeEditor)]. Now, with 'ClassA' residing in a different project, I created 'ClassC' which inherits from 'ClassB' and also applies the Editor[typeof(ClassA), typeof(UITypeEditor)] attribute. The issue arises when implementing this change: the 'EditorBaseTypeName' returns as 'string' instead of the expected 'assemblyQualifiedName'. I am seeking suggestions for addressing this problem. It's also worth noting that these properties lack setters, so overriding them is not an option
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?