hi,
i have a big problem. i have been generated an addin project,and in it, i want to add custom project item template (has design view that my custom usercontrol can be dragged from toolbox to design view and code part which is not C# or VB just xml). i could generate view part of my intention via implementing IRootDesigner,DocumentDesigner and ToolBoxUser interface.but i must reference this rootdesigner class with another component class it may be C# code. but i dont want to generate C# code i want to generate xml.
in my first attempt, i think that rootdesigner class can be attached to any xml file, and i wrote some questions to newsgroup. but no body reply.
so i hanged my opinion. I have second opinion for solving my problem that adding C# code part that, only i want, into any C# component class. for example .net code generator should not write initialize method or other codes that it generate automatically after every event. i want to prevent automatic code generation and add my custom code.
can i do this?
if yes,how?
thanks for your patience.
i have a big problem. i have been generated an addin project,and in it, i want to add custom project item template (has design view that my custom usercontrol can be dragged from toolbox to design view and code part which is not C# or VB just xml). i could generate view part of my intention via implementing IRootDesigner,DocumentDesigner and ToolBoxUser interface.but i must reference this rootdesigner class with another component class it may be C# code. but i dont want to generate C# code i want to generate xml.
in my first attempt, i think that rootdesigner class can be attached to any xml file, and i wrote some questions to newsgroup. but no body reply.
so i hanged my opinion. I have second opinion for solving my problem that adding C# code part that, only i want, into any C# component class. for example .net code generator should not write initialize method or other codes that it generate automatically after every event. i want to prevent automatic code generation and add my custom code.
can i do this?
if yes,how?
thanks for your patience.