Exemplo n.º 1
0
 public ConferenceDelete(ConferenceInfo info, Conference conf)
 {
     InitializeComponent();
     this.info = info;
     this.conf = conf;
     OpenPositiveMessage("Czy chcesz usunąć \"" + conf.Name + "\"? ");
 }
Exemplo n.º 2
0
        public ConferenceEdit(ConferenceInfo info, Conference conf)
        {
            InitializeComponent();
            this.info = info;
            this.conf = conf;

            LoadConferenceInfo();
        }
Exemplo n.º 3
0
        public SpeakerEdit(ConferenceInfo info, Speaker speaker)
        {
            InitializeComponent();
            this.info    = info;
            this.speaker = speaker;

            LoadSpeakerInfo();
        }
        public ConferenceInformation(ConferenceInfo info, Conference conf)
        {
            InitializeComponent();
            this.info = info;
            this.conf = conf;

            LoadSpeakers();
            LoadInfo();
        }
Exemplo n.º 5
0
        public void NegativeButton_Click(object sender, RoutedEventArgs e)
        {
            info.messageWrap.Visibility = Visibility.Collapsed;
            info.messageWrap.Children.Clear();
            ConferenceInfo panel = new ConferenceInfo(info.main, conf);

            info.main.wrap.Children.Clear();
            info.main.wrap.Children.Add(panel);
        }
Exemplo n.º 6
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);
            }
        }
Exemplo n.º 7
0
 public SpeakerAdd(ConferenceInfo info)
 {
     InitializeComponent();
     this.info = info;
 }