Esempio n. 1
0
        private void addConf_Click(object sender, RoutedEventArgs e)
        {
            ConferenceAdd   startPanel      = new ConferenceAdd(main);
            TopBarAnimation topBarAnimation = new TopBarAnimation(main);

            topBarAnimation.Collapse(startPanel);
        }
Esempio n. 2
0
        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);
            }
        }