在windowform窗口项目里怎么添加wpf控件啊,还有下面这个谁能帮我看看错在 哪
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Da...
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Visifire.Charts;using Visifire.Commons;using System.Windows.Forms.Integration;namespace WindowsZhuzhuangtu{ public partial class Form1 : Form { public Form1() { InitializeComponent(); //CreateChart(); //Create a WPF Button System.Windows.Controls.Button btn = new System.Windows.Controls.Button(); btn.Content = "Button in WPF"; // Add it to ElementHost ElementHost.Child = btn; }
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询