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.
是否可以在 IlSpy for .Net 中获取例如标签、按钮、文本框等的属性(宽度、高度、位置...)?我的问题是,我做了一个项目但丢失了项目文件,所以只有 .exe 文件可用。而且我真的不想再重新设计整个 GUI。
如果您使用的是 WinForms,则为设计器生成的所有代码(宽度、高度、位置、文本……)都将放入InitializeComponent相应 Form 类的函数中。您可以反编译此方法并找到重新创建表单所需的所有信息。
InitializeComponent