void MergeArea() { if (Left.realLine) { if (Left.Right.Count < 1) { Right.MergeLeft(Left); Left.Dispose(); return; } } if (Right.realLine) { if (Right.Left.Count < 1) { Left.MergeRight(Right); Right.Dispose(); return; } } if (Top.realLine) { if (Top.Down.Count < 1) { Down.MergeTop(Top); Top.Dispose(); return; } } if (Down.realLine) { if (Down.Top.Count < 1) { Top.MergeDown(Down); Down.Dispose(); return; } } }