コード例 #1
0
 private bool LoadFactory(string filePath)
 {
     if (File.Exists(filePath))
     {
         editingFactory       = ItemFactory.LoadFactory(filePath);
         editorControlHandler = new ItemFactoryControlHandler(editingFactory);
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #2
0
 private void CreateFactory()
 {
     editingFactory       = new ItemFactory();
     editorControlHandler = new ItemFactoryControlHandler(editingFactory);
 }