private void CopyStyle(ISyncLabController syncLab) { new Task(() => { ThreadUtil.WaitFor(1000); syncLab.DialogClickOk(); }).Start(); syncLab.Copy(); }
private void CopyStyle(ISyncLabController syncLab, int[,] dialogItems) { new Task(() => { ThreadUtil.WaitFor(1000); for (int i = 0; i < dialogItems.GetLength(0); i++) { syncLab.DialogSelectItem(dialogItems[i, CategoryIndexPosition], dialogItems[i, FormatItemIndexPosition]); } syncLab.DialogClickOk(); }).Start(); syncLab.Copy(); }