private void Button_Click(object sender, RoutedEventArgs e) { Task_Manager mainWindow = new Task_Manager(this.ArchiveMode, this.ProjectId); App.Current.MainWindow = mainWindow; this.Close(); mainWindow.Show(); }
private void TaskNavigate(object sender, RoutedEventArgs e) { Task_Manager taskWindow = new Task_Manager(this.ProjectID, this.ArchivedMode); App.Current.MainWindow = taskWindow; this.Close(); taskWindow.Show(); }
private void BackButton(object sender, RoutedEventArgs e) { Task_Manager projectWindow = new Task_Manager(this.ProjectId, this.ArchiveMode);//PASS AROUND THE PROJECT ID App.Current.MainWindow = projectWindow; this.Close(); projectWindow.Show(); }
private void Button_Click_Back(object sender, RoutedEventArgs e) { Task_Manager taskManagementWindow = new Task_Manager(this.ProjectID, this.ArchivedMode); App.Current.MainWindow = taskManagementWindow; this.Close(); taskManagementWindow.Show(); }