//конструктор лабиринта
 public Labirinth(DataGridView dgv, int size)
 {
     this.dgv = dgv;
     DataGridViewUtils.ShowDataGridView(dgv, size);
 }