Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将拆分器向左移动时,它会隐藏我的文本(如上图所示)。我想在移动拆分器时自动调整标签文本。
让我知道!
您需要设置 lb.Anchor 属性,信息在这里
它应该是这样的
lb.Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Bottom;
或类似的,取决于您希望它锚定的位置