示例#1
0
 public void EndWrite()
 {
     if (matrix == null)
     {
         return;
     }
     if (ownerWriter != null)
     {
         ownerWriter.FlushBaseWriter(this);
     }
     else
     {
         Owner.BeginEdit();
         Owner.Matrix.CopyData(matrix);
         Owner.EndEdit();
     }
     matrix = null;
 }
示例#2
0
 public void BeginWrite()
 {
     matrix = new ExtendedConsoleCellMatrix();
     matrix.SetSize(Owner.Matrix.Width, Owner.Matrix.Height);
 }