protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); Учёт_технических_средств.Windows.ProgressWindow progWind = new ProgressWindow(); progWind.Show(); DataController.initBases(); progWind.Hide(); DataController.ShowWindow(typeof(MainWindow)); //Учёт_технических_средств.MainWindow main = new MainWindow(); // main.Show(); }
private void settingsBtn_Click(object sender, RoutedEventArgs e) { DataController.ShowWindow(typeof(SettingsWindow)); }
private void archiveBtn_Click(object sender, RoutedEventArgs e) { DataController.ShowWindow(typeof(ArchiveWindow)); }
private void databaseSelectionBtn_Click(object sender, RoutedEventArgs e) { DataController.ShowWindow(typeof(WorkWindow)); }