public MainWindow() { InitializeComponent(); StoreLocation store = new StoreLocation(); if (!StoreLocation.IsDBConfiged()) { //load config forms loadMain(new Setting.ConfigLocation()); } else { store.CreateDatabase(LycuteOption._RootFolderDrection); DBHelper.ConfigDatabase(); loadMain(_Element); } }