private void button16_Click(object sender, EventArgs e) { string cron = "photos"; Parametres.RunCommand(cron); Parametres.DerniereExecution(cron); }
public async Task Execute(IJobExecutionContext context) { if ("1" == ((string)Parametres.key.GetValue("active"))) { string NameCron = "prix"; Parametres.RunCommand(NameCron); Parametres.DerniereExecution(NameCron); } }
private void button24_Click(object sender, EventArgs e) { foreach (Control c in groupBox3.Controls) { if (c is CheckBox) { CheckBox cb = (CheckBox)c; if (cb.Checked) { if (cb.Name != "checkBox11") { Parametres.RunCommand(cb.Name); Parametres.DerniereExecution(cb.Name); } } } } }