Is there any utility or converter to convert XAML WPF window to .Net 2.0 Windows forms form?
There is no tool to convert it across. It might be worth using an ElementHost to load WPF components in WPF, that way you don't need to convert and can re-use WPF components. If you have a WPF window you would need to convert this to a UserControl to work.
EDIT:
.Net 2 code to load WPF control
string dllPath = "C:\\ProjectsTest\\TestSolution\\ActiveXUser\\bin\\Debug\\TestControl.dll";
if (!File.Exists(dllPath)) {
return;
}
string versionInformation = null;
versionInformation = Environment.Version.Major.ToString() + Environment.Version.Minor;
Assembly loadedAssembly = Assembly.LoadFile(dllPath);
Type[] mytypes = loadedAssembly.GetTypes();
Type t = mytypes[1];
Object obj = Activator.CreateInstance(t);
versionInformation = Environment.Version.Major.ToString() + Environment.Version.Minor;
this.Panel1.Controls.Add(obj);