public IrTransetor(String Path, MainForm.StartLoad del1, MainForm.StopLoad del2) { StartLoad += del1; StopLoad += del2; Initialize(); SetPath(Path); }
public TrainingWords(String Path, MainForm.StartLoad del1, MainForm.StopLoad del2, ChangeWord ch) { StartLoad += del1; StopLoad += del2; ChangedWord += ch; Initialize(); SetPath(Path); }
public WorkTransetor(string[] patchs, string[] ir, MainForm.StartLoad del1, MainForm.StopLoad del2, TrainingWords.ChangeWord chWord) { this.del1 = del1; this.del2 = del2; this.chWord = chWord; foreach (var item in patchs) { translators.Add(new TrainingWords(item, del1, del2, chWord)); } foreach (var item in ir) { irtranlator.Add(new IrTransetor(item, del1, del2)); } }