private void FileControl_Click(object sender, RoutedEventArgs e)
        {
            FileControlWindow fcw = new FileControlWindow(CurPr.Events[EventNumber].ID);

            fcw.ShowDialog();
        }
 private void FileControl_Click(object sender, RoutedEventArgs e)
 {
     FileControlWindow fcw = new FileControlWindow(CurPr.Events[EventNumber].ID);
     fcw.ShowDialog();
 }