Beispiel #1
0
 /// <summary>
 /// Copy button, to clipboard
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CopyButton_Click(object sender, RoutedEventArgs e)
 {
     if (editpanel.Visibility == Visibility.Visible)
     {
         ClipBrd.CopyLbfToClipBoard(
             ep_name.Text,
             ep_priorityBox.Text,
             ep_statusBox.Text,
             tmpDescription,
             ep_createdate.Text,
             ep_duedate.Text,
             workHolder,
             TaskMemoViewModel.tmv);
     }
     else
     {
         ClipBrd.CopyMvToClipBoard(MainViewModel.mv);
     }
 }
Beispiel #2
0
 private void DateSumCopyButton_Click(object sender, RoutedEventArgs e)
 {
     ClipBrd.CopyDsvToClipBoard(
         SQLiteClass.SumTimeSpanDateSum,
         DateSumMoreButton.Visibility != Visibility.Visible);
 }
 private void TaskDetailsCopyButton_Click(object sender, RoutedEventArgs e)
 {
     ClipBrd.CopyTdvTaskDetailsToClipBoard(
         SQLiteClass.SumTimeSpanTaskDetails,
         TaskDetailsMoreButton.Visibility != Visibility.Visible);
 }