Пример #1
0
 public horizontal(int xl, int xp, int y, char s)
 {
     tList = new List <tochka>();
     for (int x = xl; x <= xp; x++)
     {
         tochka t = new tochka(x, y, s);
         tList.Add(t);
     }
 }
Пример #2
0
 public vertikal(int yv, int yn, int x, char s)
 {
     tList = new List <tochka>();
     for (int y = yv; y <= yn; y++)
     {
         tochka t = new tochka(x, y, s);
         tList.Add(t);
     }
 }