我使用以下问题中的代码收到错误: Control snapping on resize in C# scrollable container 错误来自这一部分:
for (int x = 0; x < 20; x++)
{
messageControl1.Add(x.ToString("00") + ": Testing testing testing ...",
MessageControl.BubblePositionEnum.Right);
messageControl1.Add(x.ToString("00") + ": Testing with variable length strings. This one is longer!",
MessageControl.BubblePositionEnum.Right);
messageControl1.Add(x.ToString("00") + ": Testing is fun.",
MessageControl.BubblePositionEnum.Left);
}
它强调“添加”。