Exemplo n.º 1
0
 private void MainCalendarSquare_Drop(object sender, DragEventArgs e)
 {
     try
     {
         var item = DataPackageHelpers.GetViewItem <BaseViewItemHomeworkExam>(e.DataView);
         if (item != null)
         {
             OnRequestChangeItemDate?.Invoke(this, new ChangeItemDateEventArgs(item, this.Date.Date));
         }
     }
     catch (Exception ex)
     {
         TelemetryExtension.Current?.TrackException(ex);
     }
 }
 private void Square_OnRequestChangeItemDate(object sender, ChangeItemDateEventArgs e)
 {
     OnRequestChangeItemDate?.Invoke(this, e);
 }