private void startProgram() { UserControls.setControls((bool)cb_prop.IsChecked, (bool)cb_pdf.IsChecked, (bool)cb_dwg.IsChecked, (bool)cb_list.IsChecked); consoleOutput("\n[Start] " + DateTime.Now.ToString("h:mm:ss"), "L0"); try { main(); } catch { consoleOutput("[ERROR - 1]", "L0"); } }
private void btn_kill_Click(object sender, RoutedEventArgs e) { UserControls.toggleOnOff(); lbl_kill_status.Content = UserControls.Running.ToString(); }