Ejemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            var ratings     = IO.DataReader.ReadRatings();
            var movies      = IO.DataReader.ReadMovies();
            var recommender = new Engine.Recommender(ratings);
            var controller  = new UI.MainWindowController(movies, recommender);
            var mainWindow  = new UI.MainWindow(controller);

            Application.Run(mainWindow);
        }
Ejemplo n.º 2
0
 public MainWindow(MainWindowController controller)
 {
     InitializeComponent();
     _Controller = controller;
 }