public MainWindow()
 {
     this.dbManager = new DbManager();
     InitializeComponent();
     populateLists();
     setupDataGrid();
 }
 public MainWindow(DbManager dbManager)
 {
     this.dbManager = dbManager;
 }
 public NewUser()
 {
     dbManager = new DbManager();
     InitializeComponent();
     lstCalibreListBox.ItemsSource = dbManager.getAllCalibers();
 }