public void move_free_priem(Int32 cell) { List <Int32> freecells = stacker1.getfreecells(); if (freecells.Count > 0) { CmdQueue.trans(cell, freecells[0]); } else { MessageBox.Show("Нет свободных приемных ячеек"); } }
public void trans(int cell1, int cell2) { CmdQueue.trans(cell1, cell2); }