private void addAppointmentClicked(object sender, RoutedEventArgs e)
        {
            AddAppointmentDialog aap = new AddAppointmentDialog(icustomer, this, appointments);
            aap.ShowDialog();

            appointments.Add(aap.appointment);

            AppointmentListView.Items.Refresh();
        }
Exemplo n.º 2
0
        private void addAppointmentClicked(object sender, RoutedEventArgs e)
        {
            AddAppointmentDialog aap = new AddAppointmentDialog(icustomer, this, appointments);

            aap.ShowDialog();

            appointments.Add(aap.appointment);

            AppointmentListView.Items.Refresh();
        }