public UserControl GetTestList() { var mudule = RankingAssb.GetTypes().FirstOrDefault(p => p.GetInterfaces().Contains(typeof(IModule))); var type = RankingAssb.GetType(ReflectionHelper.GetPropertyValueSafely(mudule, mudule.GetProperty("StartPagePath")).ToString()); var crl = CrlFactory.Create(type, (crlVm) => { }); return(crl as UserControl); }
public void WelCome() { var crl = CrlFactory.Create <Welcome>((crlvm) => { }); DockManager.CreataOrActiveLayoutPanel(new DockPanelParam() { Crl = crl, Caption = "Welcome", ToolTip = "Welcome", ProcessStyle = EuProcessStyle.CloseAndNew }, "DocumentHost"); }