Ejemplo n.º 1
0
        private void Selected_Return_btn_Click(object sender, RoutedEventArgs e)
        {
            ArchivedProjectsMenu archivedProjectsMenu = new ArchivedProjectsMenu();

            archivedProjectsMenu.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        private void Archived_Projekt_btn_Click(object sender, RoutedEventArgs e)
        {
            ArchivedProjectsMenu archivedProjectsMenu = new ArchivedProjectsMenu();

            archivedProjectsMenu.Top  = 160;
            archivedProjectsMenu.Left = 400;

            archivedProjectsMenu.Show();
            this.Close();
        }
Ejemplo n.º 3
0
 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();
     }
 }