示例#1
0
        public void GoToAppointmentForm(object sender, RoutedEventArgs e)
        {
            var         button              = sender as Button;
            Appointment appointment         = (Appointment)button.Tag;
            var         AppointmentFormView = new AppointmentForm(true, appointment);

            AppointmentFormView.Show();
        }
        private void GoToAppointmentForm(object sender, RoutedEventArgs e)
        {
            var AppointmentFormView = new AppointmentForm(false, null);

            AppointmentFormView.Show();
        }