public MainWindow() { InitializeComponent(); knowlegeBase = (LoadKnowlegeBaseFromFile()); knowlegeBaseManager = new KnowlegeBaseManager(knowlegeBase); editNodeWindow = new EditNodeWindow(this, knowlegeBaseManager); inferenceEngine = new InferenceEngine(knowlegeBaseManager); }