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(); }
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); } }