private void Btn_ExecuteImport_Click(object sender, RoutedEventArgs e) { Img_Working.Visibility = Visibility.Visible; Btn_ExecuteImport.IsEnabled = false; ExecuteCmd?.Invoke(this, new CmdExecuteArgs()); }
private void Btn_ExecuteExport_Click(object sender, RoutedEventArgs e) { String date; if (Date_DBDateBegin.SelectedDate == null) { date = "1990/01/01"; } else { date = Date_DBDateBegin.SelectedDate?.ToShortDateString(); } ExecuteCmd?.Invoke(this, new CmdExecuteArgs(selections, new string[] { String.Format("'{0}'", date) }, Chk_ExportImg.IsChecked.Value, Chk_ExportVdo.IsChecked.Value)); Img_Working.Visibility = Visibility.Visible; Btn_ExecuteExport.IsEnabled = false; Btn_ResetExportSetting.IsEnabled = false; }