本文整理汇总了C#中Block.AddInnerRows方法的典型用法代码示例。如果您正苦于以下问题:C# Block.AddInnerRows方法的具体用法?C# Block.AddInnerRows怎么用?C# Block.AddInnerRows使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Block
的用法示例。
在下文中一共展示了Block.AddInnerRows方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddColumn2
private static void AddColumn2(Block block)
{
block.AddInner(Brushes.Gray, width: 75, height: 69, offsetTop: 29, offsetLeft: 315);
block.AddInnerRows(
new[] { Brushes.Gray, Brushes.Blue, Brushes.Yellow, Brushes.Blue, Brushes.Red },
new[] { 36, 37, 38, 20, 26 },
width: 51,
offsetLeft: 492,
offsetTop: 29);
block.AddInnerRows(
new[] { Brushes.White, Brushes.Red },
new[] { 54, 60 },
width: 59,
offsetLeft: 543,
offsetTop: 29);
block.AddInner(Brushes.Red, width: 50, height: 50, offsetLeft: 602, offsetTop: 29);
}
示例2: AddColumn8
private static Block AddColumn8(Block block)
{
block = block.AddRight(Brushes.White, 77);
block.AddInnerRows(
new[] { Brushes.Red, Brushes.Blue, Brushes.Yellow, Brushes.Black, Brushes.Red, Brushes.Yellow, Brushes.Blue, Brushes.Black, Brushes.Yellow, Brushes.Red, Brushes.Invisible, Brushes.Red, Brushes.Black, Brushes.Yellow, Brushes.Red, Brushes.Blue, Brushes.Invisible, Brushes.Red, Brushes.Blue, Brushes.Yellow, Brushes.Blue },
new[] { 17, 17, 25, 14, 13, 23, 5, 16, 18, 9, 25, 21, 17, 16, 14, 13, 18, 18, 18, 17, 17 },
width: 26);
return block;
}