Example #1
0
        private void GoToConferenceHomeButton_Click(object sender, RoutedEventArgs e)
        {
            ConferenceHome newWindow = new ConferenceHome();

            newWindow.Show();
            Close();
        }
Example #2
0
        private async void GoToConferenceButton_Click(object sender, RoutedEventArgs e)
        {
            if (ConferenceList.SelectedIndex >= 0)
            {
                UserCredentials.Conference = (ConferenceDTO)ConferenceList.SelectedItem;
                await core.LoadRolesAsync();

                ConferenceHome newWindow = new ConferenceHome();
                newWindow.Show();
                Close();
            }
            else
            {
                MessageBox.Show("Choose conference");
            }
        }