上一页 1 2 3 4 5 6 ··· 20 下一页
摘要: 1、xaml不能直接承载winform窗体,可以承载usercontrol等控件 2、.net framework目前成功实现wpf中加载winform usercontrol控件,.net项目暂未能成功实现 3、.net framework实现关键步骤 3.1、添加引用 WindowsFormsI 阅读全文
posted @ 2026-04-01 09:57 echo-efun 阅读(4) 评论(0) 推荐(0)
摘要: 微软官网链接https://learn.microsoft.com/zh-cn/previous-versions/dotnet/netframework-4.0/ms750559(v=vs.100) 阅读全文
posted @ 2026-03-31 17:11 echo-efun 阅读(1) 评论(0) 推荐(0)
摘要: 1、导入本地命名空间 <Window x:Class="DemoApplication.MainWindow" xmlns="https://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="https://schemas.mi 阅读全文
posted @ 2026-03-31 16:50 echo-efun 阅读(1) 评论(0) 推荐(0)
摘要: 示例代码如下: <Window x:Class="SDKSamples.MultiWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.c 阅读全文
posted @ 2026-03-31 15:29 echo-efun 阅读(1) 评论(0) 推荐(0)
摘要: wpf例程合集https://github.com/microsoft/WPF-Samples/tree/main 阅读全文
posted @ 2026-03-31 11:57 echo-efun 阅读(2) 评论(0) 推荐(0)
摘要: 微软官方例程 https://learn.microsoft.com/zh-cn/dotnet/desktop/wpf/advanced/walkthrough-enabling-drag-and-drop-on-a-user-control public Circle(Circle c) { In 阅读全文
posted @ 2026-03-31 10:44 echo-efun 阅读(4) 评论(0) 推荐(0)
摘要: 在 .NET Framework 中,DataObject 类是实现数据传输机制的核心组件,它为拖放、剪贴板等操作提供了与格式无关的数据传输方式。它主要有两个实现,分别位于不同的命名空间:System.Windows.Forms.DataObject——这个类主要用于 Windows 窗体(WinF 阅读全文
posted @ 2026-03-30 18:36 echo-efun 阅读(31) 评论(0) 推荐(0)
摘要: <XmlDataProvider x:Key="ExpenseDataSource" XPath="Expenses"> <x:XData> <Expenses xmlns=""> <Person Name="Mike" Department="Legal"> <Expense ExpenseTyp 阅读全文
posted @ 2026-03-30 16:52 echo-efun 阅读(2) 评论(0) 推荐(0)
摘要: 一、现象 wpf 文本框不能输入小数点 二、原因 WPF的Textbox绑定在.NET4.5+中的默认行为变更 从.NET 4.5开始,TextBox.Text的绑定默认启用了FrameworkCompatibilityPreferences.KeepTextBoxDisplaySynchroniz 阅读全文
posted @ 2025-10-11 10:14 echo-efun 阅读(41) 评论(0) 推荐(0)
摘要: #define MyAppName "HYC.Dispensing" #define MyAppVersion "1.0.0.1" #define MyAppExeName "HYC.Dispensing.exe" #define MyAppAssocName MyAppName + " File" 阅读全文
posted @ 2025-07-04 16:37 echo-efun 阅读(32) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 20 下一页