private void MenuItemShowSetTimeDialog_OnClick(object sender, Telerik.Windows.RadRoutedEventArgs e)
        {
            DialogSetTime dialogSetTime = new DialogSetTime();

            dialogSetTime.TimeChanged += dialogSetTime_TimeChanged;
            dialogSetTime.StartTime    = StartTime;
            dialogSetTime.EndTime      = EndTime;
            dialogSetTime.ShowDialog();
        }
示例#2
0
 private void MenuItemShowSetTimeDialog_OnClick(object sender, RadRoutedEventArgs e)
 {
     try
     {
         DialogSetTime dialogSetTime = new DialogSetTime();
         dialogSetTime.TimeChanged += dialogSetTime_TimeChanged;
         dialogSetTime.StartTime    = StartTime;
         dialogSetTime.EndTime      = EndTime;
         dialogSetTime.ShowDialog();
     }
     catch (Exception ex)
     {
         Logger.LogIndustrialMonitoring(ex);
     }
 }