public IPanel <Form> Create([NotNull] IActionDefinition action) { var result = new OverviewPanel(); //if (_actions != null) // result.SetContextAwareActions(_actions); return(result); }
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); }