public App() : base() { fileHandler = new FileHandler(); viewer = new MainWindow(); //wire up handlers wireHandlers(viewer); viewer.Show(); openFileLocationDialog(); }
private void wireHandlers(MainWindow window) { window.AddWindowClosing(HandlerWindowClosing); window.AddSliderMove(HandlerSliderMovement); }