摘要:to be continued…
阅读全文
随笔分类 - Refactoring
摘要:步骤: 1, 分离 Dialog 的逻辑和 GUI; 2,用 WPF Window 重写与 Dialog 相同的 GUI; 3,用 Interop 的方法调用 原先的逻辑 注:同样可以用 .NET 重写逻辑,让 Dialog 调用;关键是要逻辑与UI分离;
阅读全文
zip'swhile(true) { Write it down; Think about it; Refine it; Sleep(); } |