private void Selected_Return_btn_Click(object sender, RoutedEventArgs e) { ArchivedProjectsMenu archivedProjectsMenu = new ArchivedProjectsMenu(); archivedProjectsMenu.Show(); this.Close(); }
private void Archived_Projekt_btn_Click(object sender, RoutedEventArgs e) { ArchivedProjectsMenu archivedProjectsMenu = new ArchivedProjectsMenu(); archivedProjectsMenu.Top = 160; archivedProjectsMenu.Left = 400; archivedProjectsMenu.Show(); this.Close(); }
private void Recover_btn_Click(object sender, RoutedEventArgs e) { if (MessageBox.Show("Gendan projekt", "Vil du gendanne dette projekt?", MessageBoxButton.YesNo, MessageBoxImage.Warning) == MessageBoxResult.No) { MessageBox.Show("Projektet blev ikke gendannet"); } else { string recoverArchivedProject = ProjektCollection._instance.RecoverArchivedProject(); MessageBox.Show(recoverArchivedProject); ArchivedProjectsMenu archivedProjectsMenu = new ArchivedProjectsMenu(); archivedProjectsMenu.Show(); this.Close(); } }