MainWindow, DB