示例#1
0
        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();
        }
示例#2
0
 private void settingsBtn_Click(object sender, RoutedEventArgs e)
 {
     DataController.ShowWindow(typeof(SettingsWindow));
 }
示例#3
0
 private void archiveBtn_Click(object sender, RoutedEventArgs e)
 {
     DataController.ShowWindow(typeof(ArchiveWindow));
 }
示例#4
0
 private void databaseSelectionBtn_Click(object sender, RoutedEventArgs e)
 {
     DataController.ShowWindow(typeof(WorkWindow));
 }