public ModifyActivites(Window parent)
 {
     this.parent = parent;
     InitializeComponent();
     MorningList.SetText(Activities.Current.Morning);
     AfternoonList.SetText(Activities.Current.Afternoon);
 }
 private void Window_Closed(object sender, EventArgs e)
 {
     Activities.Current = new Activities(MorningList.GetText(), AfternoonList.GetText());
     parent.Show();
     parent.Activate();
 }