那个LoadComponent不会用!
command="Views.Default.dbsoft.xaml";
string typestring = "DBSoft.StockManager." + command;
ChildWindow obj = System.Activator.CreateInstance(Type.GetType(typestring)) as ChildWindow;
你好,
你可以看看这2个连接
http://msdn.microsoft.com/en-us/library/ms596995(VS.95).aspx
http://forums.silverlight.net/forums/p/18184/61024.aspx