コード例 #1
0
        private void btnDialogOk_Click(object sender, RoutedEventArgs e)
        {

            AddAppointment inputDialog = new AddAppointment();
            if (inputDialog.ShowDialog() == true)
                Refresh();
        }
コード例 #2
0
 private void image_Click(object sender, RoutedEventArgs e)
 {
     //Button button = sender as System.Windows.Controls.Button;
     //Hours user = button.DataContext as Hours;
     //MessageBox.Show(user.Practitioner + "  " + user.Start);
     AddAppointment inputDialog = new AddAppointment();
     if (inputDialog.ShowDialog() == true)
     Refresh();
 }