public static void DrawRelationBox(this WriteableBitmap wb, int x, int y, Relation rel, int number)
        {
            if (rel == Relation.NONE)
            {
                return;
            }
            Color borderCol = Color.FromRgb(0, 0, 0);

            //wb.DrawLine(x, y, x + 10, y, borderCol);
            //wb.DrawLine(x, y, x, y + 8, borderCol);
            //wb.DrawLine(x + 10, y, x + 10, y + 8, borderCol);
            //wb.DrawLine(x, y + 8, x + 10, y + 8, borderCol);

            if (rel == Relation.EQUALS)
            {
                wb.DrawLine(x, y, x + 5, y, borderCol);
                wb.DrawLine(x, y + 1, x + 5, y + 1, borderCol);

                wb.DrawLine(x, y + 4, x + 5, y + 4, borderCol);
                wb.DrawLine(x, y + 5, x + 5, y + 5, borderCol);
            }

            if (rel == Relation.PARALLEL)
            {
                wb.DrawLine(x, y, x, y + 7, borderCol);
                wb.DrawLine(x + 1, y, x + 1, y + 7, borderCol);

                wb.DrawLine(x + 4, y, x + 4, y + 7, borderCol);
                wb.DrawLine(x + 5, y, x + 5, y + 7, borderCol);
            }

            wb.DrawDigit(x + 8, y, number, borderCol);
        }