예제 #1
0
 private void CopyStyle(ISyncLabController syncLab)
 {
     new Task(() =>
     {
         ThreadUtil.WaitFor(1000);
         syncLab.DialogClickOk();
     }).Start();
     syncLab.Copy();
 }
예제 #2
0
 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();
 }