Expresion Blend 3(WPF)和VB 2008 [英] Expresion Blend 3(WPF) and VB 2008

查看:110
本文介绍了Expresion Blend 3(WPF)和VB 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经设计了一个使用表达式Blend 3的简单wpf应用程序,我也使用vb来控制其功能,例如按钮和文本框等.我正在做的只是从Blend 3复制XAML代码并将其粘贴到wpf应用程序中Vb 2008的版本,但此方法不起作用,我认为是因为某些选项在vb 2008的wpf应用程序中不可用.之所以这样做是因为在Blend 3中,许多vb选项不可用,例如计时器等.
所以我的问题是,有什么方法可以将wpf的gui与vb 2008中的vb代码连接或链接.期待您的答复.


Sadiq

Hi There,

I have designed a simple wpf application using expression blend 3, also i am using vb to control its function, like buttons and text boxes etc. And what i am doing is just copying the XAML code from blend 3 and pasteing it to the wpf application of vb 2008, but this method is not working, i think because some of the options are not available in wpf application of vb 2008. I am doing this because in blend 3 many of vb option are not available like timer etc.
SO my question is that is there any way to connect or link the gui of wpf with the vb code from vb 2008. Looking forward for your responses.


Sadiq

推荐答案

您可以通过以下方式实现:

You can do this by:


  1. 打开Blend;
  2. 创建一个新的WPF项目;
  3. 将语言(默认为c#)更改为Visual Basic;
  4. 单击确定";
  5. 右键单击项目"选项卡中的项目";
  6. 选择在Visual Studio中编辑"(上下文菜单中的第二个选项);
  7. 在Visual Studio/在Expression Blend中编辑XAML.

  1. Open Blend;
  2. Create a new WPF Project;
  3. Change the lenguage (default is c#) to Visual Basic;
  4. Click OK;
  5. Right click the Project in the Project tab;
  6. Select "Edit in Visual Studio" (seccond option on the context menu);
  7. Edit code in Visual Studio/ Edit XAML in Expression Blend.

完成

希望这对您有帮助

一切顺利

劳尔


这篇关于Expresion Blend 3(WPF)和VB 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆