Пример #1
0
        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);
        }
Пример #2
0
        public void WelCome()
        {
            var crl = CrlFactory.Create <Welcome>((crlvm) =>
            {
            });

            DockManager.CreataOrActiveLayoutPanel(new DockPanelParam()
            {
                Crl          = crl,
                Caption      = "Welcome",
                ToolTip      = "Welcome",
                ProcessStyle = EuProcessStyle.CloseAndNew
            }, "DocumentHost");
        }