private bool LoadFactory(string filePath) { if (File.Exists(filePath)) { editingFactory = ItemFactory.LoadFactory(filePath); editorControlHandler = new ItemFactoryControlHandler(editingFactory); return(true); } else { return(false); } }
private void CreateFactory() { editingFactory = new ItemFactory(); editorControlHandler = new ItemFactoryControlHandler(editingFactory); }