예제 #1
0
        public IPanel <Form> Create([NotNull] IActionDefinition action)
        {
            var result = new OverviewPanel();

            //if (_actions != null)
            //    result.SetContextAwareActions(_actions);
            return(result);
        }
예제 #2
0
        public IPanel <Form> Create(IIdentity identity, out IActionDefinition action)
        {
            var result = new OverviewPanel();

            action = new ActionDefinition(result.Id, "Overview", "Dashboard", Properties.Resources.gauge_big,
                                          Properties.Resources.gauge);

            return(result);
        }