{"id":553883,"date":"2022-02-03T19:23:03","date_gmt":"2022-02-03T11:23:03","guid":{"rendered":"http:\/\/4563.org\/?p=553883"},"modified":"2022-02-03T19:23:03","modified_gmt":"2022-02-03T11:23:03","slug":"wpf%e3%80%81winui%e3%80%81uwp%e3%80%81winform-%e5%9c%a8%e9%a1%b9%e7%9b%ae%e4%b8%ad%e5%88%b0%e5%ba%95%e6%98%af%e6%80%8e%e4%b9%88%e5%8c%ba%e5%88%ab%e7%9a%84%ef%bc%9f-4","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=553883","title":{"rendered":"WPF\u3001WinUI\u3001UWP\u3001WinForm \u5728\u9879\u76ee\u4e2d\u5230\u5e95\u662f\u600e\u4e48\u533a\u522b\u7684\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> WPF\u3001WinUI\u3001UWP\u3001WinForm \u5728\u9879\u76ee\u4e2d\u5230\u5e95\u662f\u600e\u4e48\u533a\u522b\u7684\uff1f <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liuser666 <\/span>  <span><i><\/i> 61<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> \u6700\u8fd1\u5728\u7528 WinUI \u5f00\u53d1\u561b,\u7ec8\u4e8e\u60f3\u5230\u4e86\u5982\u4f55\u7ec4\u7ec7\u8fd9\u4e2a\u95ee\u9898,<br \/>\u6309\u7406\u8bf4 UWP \u548c WPF \u662f\u4e92\u65a5\u7684,\u90a3\u4e48\u662f\u600e\u6837\u4e00\u4e2a\u4e92\u65a5\u6cd5\u5462,\u8fd9\u79cd\u4e92\u65a5\u662f\u7531\u4e8e\u5f15\u7528\u7684\u5305\u4e0d\u4e00\u6837\u5417?<br \/>System.Windows;\u662f WPF \u542f\u52a8 APP \u7684\u5305<br \/>Windows.UI.Xaml;\u662f UWP \u542f\u52a8 APP \u7684\u5305<br \/>Microsoft.UI.Xaml;\u662f WinUI \u542f\u52a8 APP \u7684\u5305<br \/>\u7136\u540e\u6211\u518d\u770b winform \u5c31\u66f4\u725b\u4e86,<br \/>\u53ea\u7528\u4e86 System.Windows.Forms;\u8fd9\u4e00\u4e2a\u5305,\u6240\u4ee5 winform \u7684\u5f00\u53d1\u65b9\u5f0f\u5c82\u4e0d\u662f\u66f4\u7b80\u5355\u5417?<br \/>\u90a3\u4e48\u662f\u5426\u610f\u5473\u7740\u6211\u53ea\u8981\u628a\u8fd9\u4e2a\u5305\u6362\u4e00\u4e0b(\u4ee5\u53ca\u5bf9\u5e94\u7684 xaml \u7684\u5305),\u6211\u7684\u5e94\u7528\u5c31\u53d8\u6210\u53e6\u4e00\u79cd\u7c7b\u578b\u4e86?\u90a3\u4e48 UWP \u9650\u5236\u8c03\u7528 win32 \u7684 api \u662f\u600e\u4e48\u9650\u5236\u7684\u5462?\u6309\u7167\u73b0\u5728\u7684\u6761\u4ef6,\u6211\u53ea\u8981\u5355\u72ec\u5199\u4e2a\u7c7b\u5f15\u4e2a\u5176\u4ed6\u7684 nuget \u5305\u5c31\u80fd\u95f4\u63a5\u8c03\u7528 win32 \u7684 api \u4e86\u5440\u3002<br \/>\u6700\u540e,WinUI \u8bf4\u7684\u652f\u6301 Win32 \u7a0b\u5e8f\u662f\u4ec0\u4e48\u610f\u601d\u5462?\u8bf4\u5230\u8fd9\u91cc\u6211\u5bf9 Win32 \u7a0b\u5e8f\u53c8\u8ff7\u60d1\u4e86,\u73b0\u5728\u8bf4\u7684 win32 \u7a76\u7adf\u6307\u7684\u662f\u4ec0\u4e48\u5440?\u662f winform \u5f00\u53d1\u7684\u7a0b\u5e8f\u8fd8\u662f\u7279\u6307 C++\u5f00\u53d1\u7684,\u8fd8\u662f\u6307\u8c03\u7528 Win32api \u7684\u8fd8\u662f\u5565?  <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>2<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"7055527\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : maggch <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u662f Project \u7684\u5c5e\u6027\u6307\u5b9a\u7684\uff0c\u4e0d\u662f\u4f60\u6362\u4f9d\u8d56\u5305\u5c31\u80fd\u89e3\u51b3\u7684\u3002\u5bf9\u5e94\u7684\u662f\u4e00\u6574\u5957\u4ece\u7f16\u8bd1\u5230\u6253\u5305\u7684\u6d41\u7a0b\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7055528\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : forgottencoast <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> UWP \u548c WPF \u7684\u8fd0\u884c\u65f6\u90fd\u4e0d\u4e00\u6837\uff0cUWP \u9650\u5236\u8c03\u7528 Win32 api \u5f88\u591a\u8981\u4e0d\u5c31\u662f\u6ca1\u6709\u5b9e\u73b0\uff0c\u8981\u4e0d\u5c31\u662f\u8fd0\u884c\u65f6\u4e0d\u652f\u6301\u3002<br \/>Win32 \u7a0b\u5e8f\u5e94\u8be5\u662f\u6307\u4f7f\u7528 Win32 API \u5f00\u53d1\u7684\u7a0b\u5e8f\u3002<br \/>\u5f15\u7528\u51e0\u4e2a\u5305\u5e76\u4e0d\u662f\u7279\u522b\u91cd\u8981\u554a\uff0c\u53cd\u6b63\u53ea\u5f15\u7528\u4e00\u6b21\u5c31\u884c\u4e86\uff0c\u8c01\u4f1a\u5929\u5929\u5f15\u7528\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>WPF\u3001WinUI\u3001UWP\u3001Win&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/553883"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=553883"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/553883\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=553883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=553883"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=553883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}