本文整理汇总了C#中Block.AddBelow方法的典型用法代码示例。如果您正苦于以下问题:C# Block.AddBelow方法的具体用法?C# Block.AddBelow怎么用?C# Block.AddBelow使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Block
的用法示例。
在下文中一共展示了Block.AddBelow方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddColumn1
private static Block AddColumn1(Block block)
{
block = block.AddBelow(Brushes.LightGray, 157, 92, 77);
Block inner = block.AddInner(Brushes.Gray, height: 75, offsetTop: 82);
inner.AddInner(Brushes.Blue, 28, 28, 41, 23);
return block;
}
示例2: AddRow
public Block AddRow(Block block)
{
block = block.AddBelow(Brushes.Yellow, height: 98);
Block inner = block.AddInner(Brushes.White, width: 154, offsetLeft: 113);
inner.AddInner(Brushes.LightGray, width: 111, offsetLeft: 43, height: 66);
inner.AddInner(Brushes.Gray, width: 43, offsetTop: 44, height: 54);
return block;
}
示例3: AddRow
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;
}
示例4: AddRow
public Block AddRow(Block block)
{
block = block.AddBelow(Brushes.Red, 80, 357, 28);
block = block.AddRight(Brushes.LightGray, 98);
block = block.AddRight(Brushes.Gray, 267);
block = block.AddRight(Brushes.Red, 97);
new Block(Brushes.LightGray, block.Graphics, 750, 195, 81, 45);
new Block(Brushes.White, block.Graphics, 790, 160, 50, 195 - 160);
new Block(Brushes.Gray, block.Graphics, 385, 160, 11, 213 - 160);
return block;
}
示例5: AddRow
public Block AddRow(Block block)
{
block = block.AddBelow(Brushes.Black, 24, newStartOffsetLeft: 400, width: 313);
block.AddInnerColumns(
new[] { Brushes.Invisible, Brushes.Yellow, Brushes.Invisible, Brushes.Yellow, Brushes.White, Brushes.Invisible, Brushes.DarkRed, Brushes.Red, Brushes.Blue, Brushes.Red, Brushes.Yellow, Brushes.Red, Brushes.Yellow, Brushes.Red, Brushes.Invisible },
new[] { 43, 41, 31, 8, 72, 10, 8, 12, 14, 4, 8, 1, 9, 35, 17 });
block.AddInner(Brushes.Yellow, width: 9, height: block.Height - 4, offsetTop: 2, offsetLeft: 261);
return block;
}
示例6: AddRow
public Block AddRow(Block block)
{
block = block.AddBelow(Brushes.Red, height: 33, width: 38, newStartOffsetLeft: 131, newStartOffsetTop: 681);
block = block.AddInnerColumns(
new[] { Brushes.Yellow, Brushes.LightGray, Brushes.Yellow, Brushes.Red, Brushes.White, Brushes.Beige, Brushes.Yellow, Brushes.Blue, Brushes.Red, Brushes.White, Brushes.Beige, Brushes.Red, Brushes.Yellow, Brushes.Blue, Brushes.Red, Brushes.Blue, Brushes.Yellow, Brushes.Blue, Brushes.Red, Brushes.Yellow, Brushes.Red, Brushes.Beige, Brushes.Red, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Yellow, Brushes.Black, Brushes.Yellow, Brushes.Red, Brushes.White, Brushes.Yellow, Brushes.Red, Brushes.Blue, Brushes.Beige, Brushes.LightGray, Brushes.Yellow, Brushes.White, Brushes.Red, Brushes.White, Brushes.Beige, Brushes.Red, Brushes.White, Brushes.Beige, Brushes.Black, Brushes.Beige, Brushes.Red, Brushes.White, Brushes.Red, Brushes.Blue },
new[] { 19, 8, 9, 23, 11, 9, 9, 15, 15, 10, 9, 23, 51, 18, 13, 23, 32, 13, 14, 19, 22, 17, 9, 19, 24, 22, 16, 20, 17, 18, 18, 18, 8, 19, 16, 20, 9, 18, 17, 10, 29, 21, 3, 19, 10, 17, 17, 31, 17, 27, 22, 23 },
height: 18,
offsetLeft: block.Width,
offsetTop: 15
);
return block;
}
示例7: AddRow
public Block AddRow(Block block)
{
block = block.AddBelow(Brushes.Gray, height: 64, newStartOffsetLeft: 400, width: 313);
block.AddInner(Brushes.Yellow, width: 220);
block.AddInnerColumns(
new[] { Brushes.LightGray, Brushes.White },
new[] { 34, 34 },
height: 33,
offsetLeft: 43);
block.AddInner(Brushes.Black, offsetLeft: 84, offsetTop: 33, width: 29, height: 31);
return block;
}
示例8: AddColumn1
private Block AddColumn1(Block block)
{
block = block.AddBelow(Brushes.White, height: 114, newStartOffsetLeft: 131, width: 195);
Block inner = block.AddInner(Brushes.Yellow, offsetLeft: 16, width: 17, height: 45, offsetTop: 19);
block.AddInner(Brushes.Yellow, width: 15, offsetLeft: 33, offsetTop: 33, height: 31);
block.AddInnerColumns(
new[] { Brushes.Yellow, Brushes.DarkYellow },
new[] { 73, 51 },
height: 64,
offsetLeft: 48);
inner = block.AddInnerColumns(
new[] { Brushes.Blue, Brushes.Invisible, Brushes.Red },
new[] { 73, 25, 49 },
offsetTop: 64,
offsetLeft: 48,
height: 50);
inner.AddInner(Brushes.Yellow, offsetLeft: 30, offsetTop: 12, height: 21, width: 23);
inner.AddInner(Brushes.Gray, offsetLeft: 73, width: 25, height: 20);
return block;
}