Exemple #1
0
 /// <summary>
 ///     Handles the Click event of the btnClear control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="RoutedEventArgs" /> instance containing the event data.</param>
 private void btnClear_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         DGAttachData.CancelEdit();
         BindGrid();
     }
     catch (Exception commonException)
     {
         _logger.Error("Error occurred as " + commonException.Message);
     }
 }