예제 #1
0
 public SquareFrame Print()
 {
     lattice_pointer = first_lattice;
     while (lattice_pointer != null)
     {
         if (lattice_pointer.coord.x == width_0)
         {
             lattice_pointer.PrintLine();
         }
         else
         {
             lattice_pointer.Print();
         }
         lattice_pointer = lattice_pointer.next_lattice;
     }
     Console.WriteLine();
     return(this);
 }