winforms - Windows Form launched from WPF window showing no current system theme. Why? -


i have wpf application has variable "x" instance of class custom c# assembly called "myclasses.dll". variable "x" has method "launchform" launches windows form "form1" assembly "myforms.dll". form launched dialog , shown in screen current windows xp / win7 theme/skin not applied it. if "form1" launched windows form (not wpf window) shown correctly though. ideas why happening? hints solve issue?

cheers all! edgar

i looked @ code again , i'm not using reflection on way of launching winform. code requested in wpf:

myinterface x=new myclass1(); x.launchform();

the code in myclasses.dll:

public class myclass1() : myinterface { public myclass1() {} public void launchform() { form1 form1dialog=new form1(); form1dialog.showdialog(); } }

this, mentioned, launches winform wpf no windows theme applied it.

probably don't have proper manifest tell windows compatible new theme (wpf doesn't need it).

i wrote on blog @ http://www.nbdtech.com/blog/archive/2008/06/16/the-application-manifest-needed-for-xp-and-vista-style-file.aspx


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -