private void addConf_Click(object sender, RoutedEventArgs e)
        {
            ConferenceAdd   startPanel      = new ConferenceAdd(main);
            TopBarAnimation topBarAnimation = new TopBarAnimation(main);

            topBarAnimation.Collapse(startPanel);
        }
        private void confsListView_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            Conference conf = ((ListViewItem)sender).Content as Conference;

            if (conf != null)
            {
                ConferenceInfo  panel           = new ConferenceInfo(main, conf);
                TopBarAnimation topBarAnimation = new TopBarAnimation(main);
                topBarAnimation.Collapse(panel);
            }
        }