简体   繁体   中英

keep only GUI when converting vb6 app to c#?

I have a large VB6 app which I want to convert to C#.

The majority of the code in VB6 is quite badly written.

I thought that a good strategy would be to keep the GUI design since it is adequate and would be a pain to recreate. But I would want to rewrite the code behind the GUI and the data layer.

I could keep the GUI design by using one of the VB6 to .NET converters provided by Microsoft.

Would this be a good strategy?

有几种迁移工具可以执行从VB6到.NET语言的迁移,当今最好的一种就是VBUC ,但是,如果您重写基础代码,也许最好也重写GUI层,因为迁移工具通常不会不能很好地完成gui迁移,生成的gui看起来通常很丑陋且“过时”。

Please refer to my post in your related thread stackoverflow

I would not. You have a great chance to build something good from the start. Don't simply import the old UI.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM