Esempio n. 1
0
        public Block AddRow(Block block)
        {
            block.AddRowLeftToRight(326, 240, 80,
                new[] { 431, 528, 719, 822, 848, 925 },
                new[] { Brushes.Yellow, Brushes.Blue, Brushes.White, Brushes.Red, Brushes.Yellow, Brushes.White });

            new Block(Brushes.Black, block.Graphics, 822, 288, 26, 20);

            block.AddRowLeftToRight(431, 240, 25,
                new[] { 465, 480, 500, 526, 537, 561, 578, 587, 602, 622, 646, 679, 700, 719, 744, 754, 773, 786, 793, 812, 820, 844, 869 },
                new[] { Brushes.Red, Brushes.LightGray, Brushes.Yellow, Brushes.Red, Brushes.Yellow, Brushes.Black, Brushes.LightGray, Brushes.Red, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Yellow, Brushes.Red, Brushes.Yellow, Brushes.Blue, Brushes.Beige, Brushes.Black, Brushes.Beige, Brushes.Yellow, Brushes.Gray, Brushes.Red, Brushes.Blue, Brushes.Yellow });

            return block;
        }
Esempio n. 2
0
        public Block AddRow(Block block)
        {
            block = block.AddRowLeftToRight(326, 320, 26,
            new[] { 356, 384, 404, 430, 476, 509, 523, 540, 549, 571, 580, 600, 612, 627, 630, 647, 692, 707, 719, 730, 745, 755, 763, 777, 798, 815, 822, 848, 861, 867, 895, 937, 951 },
            new[] { Brushes.Gray, Brushes.Red, Brushes.Gray, Brushes.Blue, Brushes.Yellow, Brushes.Red, Brushes.Beige, Brushes.Red, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Blue, Brushes.Beige, Brushes.Red, Brushes.Yellow, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Blue, Brushes.Beige, Brushes.Black, Brushes.Beige, Brushes.Blue, Brushes.Black, Brushes.LightGray, Brushes.Yellow, Brushes.LightGray, Brushes.Black, Brushes.Beige, Brushes.Yellow, Brushes.Red, Brushes.Yellow, Brushes.Blue });

            block = new Block(Brushes.Yellow, block.Graphics, 248, 315, 286 - 248, 346 - 315);
            block = new Block(Brushes.LightGray, block.Graphics, 286, 265, 40, 50);
            block = block.AddBelow(Brushes.Blue, 31);
            return block;
        }
Esempio n. 3
0
        public Block AddRow(Block block)
        {
            block = block.AddRowLeftToRight(221, 828, 22,
                new[] { 244, 262, 281, 287, 292, 326, 343, 353, 354, 363, 368, 384, 394, 410, 431, 445, 467, 474, 493, 498, 526, 545, 563, 582, 600, 615, 626, 640, 652, 661, 677, 685, 704, 716, 731, 736, 752, 767, 776, 786, 805, 832, 839, 855, 868, 895, 911, 928 },
                new[] { Brushes.Red, Brushes.Yellow, Brushes.Black, Brushes.Yellow, Brushes.LightGray, Brushes.Yellow, Brushes.Blue, Brushes.Beige, Brushes.Red, Brushes.Beige, Brushes.Blue, Brushes.Black, Brushes.White, Brushes.DarkYellow, Brushes.Black, Brushes.Yellow, Brushes.DarkYellow, Brushes.Yellow, Brushes.Black, Brushes.White, Brushes.Yellow, Brushes.Black, Brushes.DarkYellow, Brushes.Red, Brushes.Yellow, Brushes.Black, Brushes.Red, Brushes.Yellow, Brushes.Beige, Brushes.Red, Brushes.Black, Brushes.Red, Brushes.Yellow, Brushes.Beige, Brushes.Red, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Red, Brushes.Yellow, Brushes.Red, Brushes.Yellow, Brushes.White, Brushes.Red, Brushes.Blue, Brushes.Yellow, Brushes.Black, Brushes.Red }
                );

            block.AddRight(Brushes.Yellow, height: 43, width: 50);

            return block;
        }
Esempio n. 4
0
        public Block AddRow(Block block)
        {
            block = block.AddRowLeftToRight(221, 850, 66,
                new[] { 320, 414, 515, 630, 722, 819, 897, 928 },
                new[] { Brushes.LightGray, Brushes.Yellow, Brushes.LightGray, Brushes.Gray, Brushes.Red, Brushes.Gray, Brushes.Invisible, Brushes.LightGray }
                );

            block = new Block(Brushes.Invisible, block.Graphics, 221, 850, 1, 66, false);

            Block inner = block.AddInner(Brushes.Yellow, offsetLeft: 341, offsetTop: 16, height: 28, width: 39);
            inner.AddInner(Brushes.Black, width: 29);

            block.AddInner(Brushes.Red, width: 31, offsetLeft: 676, offsetTop: 25, height: 24);

            return block;
        }