/// <summary>
 ///     Switches to edit Credit Note page
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btn_edit_Click(object sender, RoutedEventArgs e)
 {
     if (creditNote != null)
     {
         mainPage.editCreditNote(creditNote.idCreditNote);
     }
 }
Example #2
0
 /// <summary>
 ///     Switches to edit Credit Note page and loads the specific credit note
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void EditCreditNote_Click(object sender, RoutedEventArgs e)
 {
     mainPage.editCreditNote(((CreditNote)creditNoteDataGrid.SelectedItem).idCreditNote);
 }