/// <summary> /// Creator: Timothy Lickteig /// Created: 04/27/2020 /// Approver: Zoey McDonald /// /// Event handler for the new appointment button /// </summary> /// <remarks> /// Updater: N/A /// Updated: N/A /// Update: N/A /// </remarks> private void BtnScheduleAppointment_Click(object sender, RoutedEventArgs e) { frmScheduleFosterAppointment window = new frmScheduleFosterAppointment(); window.ShowDialog(); refreshList(); }
/// <summary> /// Creator: Timothy Lickteig /// Created: 04/27/2020 /// Approver: Zoey McDonald /// /// Event handler for datagrid double clicks /// </summary> /// <remarks> /// Updater: N/A /// Updated: N/A /// Update: N/A /// </remarks> private void DgAppointmentList_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (null != dgAppointmentList.SelectedItem) { frmScheduleFosterAppointment window = new frmScheduleFosterAppointment( (FosterAppointmentVM)dgAppointmentList.SelectedItem); window.ShowDialog(); refreshList(); } }