是“界限”吗? Visual Basic 中的属性已弃用?
它可能就在我眼皮子底下,但我一生都找不到任何与此相关的有用信息:在 Visual Studio 2019 中,我可以找到并使用 PictureBox 的 .bounds 属性。在 Visual Studio 2022 中它不存在。仅显示 .setBounds 方法,但这没有帮助。 我的问题很简单:我找不到它的原因是什么?
它是否与
- 从 VS2019 到 VS2022的较新 .NET 版本
- 升级
- 由于某种原因已弃用有关
- 或者我只是愚蠢/盲目......
如果我不愚蠢/盲目;如果 - 例如 - 我想检查一些边框碰撞,我是否必须手动解决“PictureBox.Bounds.IntersectsWith”?
尽管可能会出现全球性的捂脸,但如果有人能回答这个问题,我将不胜感激;)
Its probably right under my nose, but for the life of me I couldnt find anything helpful concerning this: In Visual Studio 2019 I can find and use the .bounds property of a PictureBox. In Visual Studio 2022 its just not there. Only the .setBounds method shows up, but thats not helpful.
My question is simple: What is the reason that i cant find it?
Does it have sth to do with
- A newer .NET Version
- Upgrade from VS2019 to VS2022
- Deprecated for some reason
- Or am I just stupid/blind...
And if Im NOT stupid/blind; do I have to manually work around "PictureBox.Bounds.IntersectsWith" if - for example - I want to check for some border collision?
Despite the probable global facepalming it would be much appreciated If someone could answer this;)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论