本文整理匯總了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;
}