public void Load() { if (csfDesigner == null) { csfDesigner = new CsfDesignerFactory(); } if (csfTemplate == null) { csfTemplate = new CsfTemplate(); } DesignerManager.Instance.RegisterDesigner(csfDesigner); TemplateManager.Instance.RegisterTemplate(csfTemplate); }