private void Button_Click(object sender, RoutedEventArgs e)
        {
            Button clicked = (Button)sender;

            switch (clicked.Name)
            {
            case "AddButton":
                AddWindow aw = new AddWindow(associatedName);
                App.Current.MainWindow = aw;
                aw.Show();
                this.Close();
                break;

            case "ListButton":
                ProjectListWindow lw = new ProjectListWindow(associatedName);
                App.Current.MainWindow = lw;
                lw.Show();
                this.Close();
                break;

            case "ReportButton":
                ReportCreator rc = new ReportCreator();
                rc.CreateReport(true);
                break;

            case "ClearButton":
                ConfirmDelete deleteWindow = new ConfirmDelete();
                deleteWindow.Show();
                break;
            }
        }
        private void BackButton_Click(object sender, RoutedEventArgs e)
        {
            ProjectListWindow mw = new ProjectListWindow(associatedName);

            App.Current.MainWindow = mw;
            this.Close();
            mw.Show();
        }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            pa.UpdateProject(currentProj);

            ProjectListWindow main = new ProjectListWindow(associatedName);

            App.Current.MainWindow = main;
            this.Close();
            main.Show();
        }