public Calculator(FrameworkElement workspace, FrameworkElement window) { _geneticsConfiguration = new Configuration(); _debugInfo = new DebugInfo(); _dragTool = new DragTool(workspace, window); InitFileWatcher(); CreateCommands(); CreateDirections(); SegmentEventHandler.Register(this); }
public DebugWindow(DebugInfo info) { InitializeComponent(); DataContext = info; }