private void RegionReview_Click(object sender, RoutedEventArgs e) { RegionReview regionReview = new RegionReview(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(regionReview); itemsWindow.Show(); }
private void ManagerReview_Click(object sender, RoutedEventArgs e) { ManagerReview managerReview = new ManagerReview(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(managerReview); itemsWindow.Show(); }
private void HotTopics_Click(object sender, RoutedEventArgs e) { HotTopics hotTopics = new HotTopics(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(hotTopics); itemsWindow.Show(); }
private void BusinessCases_Click(object sender, RoutedEventArgs e) { BusinessCases businessCases = new BusinessCases(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(businessCases); itemsWindow.Show(); }
private void StaffMeeting_Click(object sender, RoutedEventArgs e) { StaffMeeting staffMeeting = new StaffMeeting(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(staffMeeting); itemsWindow.Show(); }
private void WeeklyReview_Click(object sender, RoutedEventArgs e) { WeeklyReview weeklyReview = new WeeklyReview(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(weeklyReview); itemsWindow.Show(); }
private void AdHoc_Click(object sender, RoutedEventArgs e) { AdHoc adhoc = new AdHoc(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(adhoc); itemsWindow.Show(); }
private void StrategicTasks_Click(object sender, RoutedEventArgs e) { StrategicTasks strategicTasks = new StrategicTasks(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(strategicTasks); itemsWindow.Show(); }
private void ManagerTasks_Click(object sender, RoutedEventArgs e) { ManagerTasks managerTasks = new ManagerTasks(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(managerTasks); itemsWindow.Show(); }
private void BrowseOpenItemsbutton_Click(object sender, RoutedEventArgs e) { BrowseOpenItems browseOpen = new BrowseOpenItems(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(browseOpen); itemsWindow.Show(); this.Close(); }
//******************************************************************* // DESCRIPTION: Runs when 'Search Items' button is clicked. // Creates an instance of SearchItemsPage, passing login-based user data. // Creates an instance of ItemsWindow, passing the SearchItemsPage as parameter. // The result is a new ItemsWindow with SearchItemsPage displayed. //******************************************************************* private void SearchItemsbutton_Click(object sender, RoutedEventArgs e) { Items_SearchItemsPage searchItemsPage = new Items_SearchItemsPage(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(searchItemsPage); itemsWindow.Show(); this.Close(); }
//******************************************************************* // DESCRIPTION: Runs when 'Prioritize By System' button is clicked. // Creates an instance of PrioritizeBySystemPage, passing login-based user data. // Creates an instance of ItemsWindow, passing the PrioritizeBySystemPage as parameter. // The result is a new ItemsWindow with PrioritizeBySystemPage displayed. //******************************************************************* private void PrioritizeBySysbutton_Click(object sender, RoutedEventArgs e) { Items_PrioritizeBySystemPage prioritizeBySystem = new Items_PrioritizeBySystemPage(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(prioritizeBySystem); itemsWindow.Show(); this.Close(); }
//If user clicks yes, the aging items report will run with timestamps, if not, then the aging items report will run in view-only mode without marking timestamps on the report private void AgingItems_Click(object sender, RoutedEventArgs e) { MessageBoxResult result = MessageBox.Show("Run Aging Items Report With TimeStamps?", "Aging Items", MessageBoxButton.YesNoCancel); if (result == MessageBoxResult.Yes) { ReportHelper.InsertIntoAging(ReportHelper.FillAging()); AgingItems agingItems = new AgingItems(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(agingItems); itemsWindow.Show(); } else if (result == MessageBoxResult.No) { AgingItems agingItems = new AgingItems(arr); ReportItemsWindow itemsWindow = new ReportItemsWindow(agingItems); itemsWindow.Show(); } }