public MainWindow() { InitializeComponent(); string conf = NetworkNode.App.partialPathToConfig; node = new Node(this.log, this.links, this); setGraphics(); if (conf != null) { pathToConfig = @"" + conf; node.readConfig(pathToConfig); } }
public MainWindow() { InitializeComponent(); string conf = NetworkNode.App.partialPathToConfig; node = new Node(this.log, this.links, this); setGraphics(); if (conf != null) { pathToConfig = @"" + conf; node.readConfig(pathToConfig); node.startService(); this.startButton.IsEnabled = false; } }