Example #1
0
 private void TimeCalcControl_OnFormClosed(object sender, TimeCalcFormClosedEventArgs e)
 {
     TimeCalc.Visibility          = Visibility.Collapsed;
     ContentGrid.IsHitTestVisible = true;
     if (e.DialogResult == DialogResult.OK)
     {
         ViewModel.TimeDataTotalTime = e.TimeSpan;
     }
 }
Example #2
0
 private void TimeCalcControl_OnFormClosed(object sender, TimeCalcFormClosedEventArgs e)
 {
     TimeCalc.Visibility           = Visibility.Collapsed;
     ContentPanel.IsHitTestVisible = true;
     if (e.DialogResult == DialogResult.OK)
     {
         ViewModel.RBCTimeDataMinutes = (int)e.TimeSpan.TotalMinutes;
     }
 }
 private void TimeCalcControl_OnFormClosed(object sender, TimeCalcFormClosedEventArgs e)
 {
     TimeCalc.Visibility = Visibility.Collapsed;
     ContentGrid.IsHitTestVisible = true;
     if (e.DialogResult == DialogResult.OK) {
         ViewModel.TimeDataTotalTime = e.TimeSpan;
     }
 }
Example #4
0
 private void TimeCalcControl_OnFormClosed(object sender, TimeCalcFormClosedEventArgs e)
 {
     TimeCalc.Visibility = Visibility.Collapsed;
     ContentPanel.IsHitTestVisible = true;
     if (e.DialogResult == DialogResult.OK) {
         ViewModel.RBCTimeDataMinutes = (int)e.TimeSpan.TotalMinutes;
     }
 }