예제 #1
0
        // 5. Create new Meeting centre

        private void newMeetingButton_Click(object sender, RoutedEventArgs e)
        {
            ECBCentreForm centreForm = new ECBCentreForm();

            centreForm.Show();
            centreForm.refreshListCentres(RefreshCentres);
        }
예제 #2
0
        // 6. Edit meeting centers

        private void editMeegingButton_Click(object sender, RoutedEventArgs e)
        {
            if (meetingCentresListBox.SelectedItem != null)
            {
                meetingCentresListBox.Items.Refresh();
                _meetingCentreModel = meetingCentresListBox.SelectedItem as MeetingCentre;
                ECBCentreForm centreForm = new ECBCentreForm();
                centreForm.centreFormEdit(_meetingCentreModel, RefreshCentres);
                centreForm.Show();
            }
        }