protected override void OnStartup(StartupEventArgs e) {
            base.OnStartup(e);

            var mainWindowVM = new MainViewModel();
            var mainWindow = new MainWindow(mainWindowVM);

            mainWindow.Show();
        }
        public MainWindow(MainViewModel model) {
            InitializeComponent();
            this.DataContext = model;

            
        }