我可以快速将我的组件替换为自定义主题的组件吗? [英] Can I quickly replace my components to a custom theme's components?

查看:28
本文介绍了我可以快速将我的组件替换为自定义主题的组件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过使用这样一个自定义创建的主题来改善我的程序的外观:http://www.mpgh.net/forum/33-visual-basic-programming/492570-biesis-vb-net-theme-archive.html

I want to improve the look of my program by using a custom created theme like this: http://www.mpgh.net/forum/33-visual-basic-programming/492570-biesis-vb-net-theme-archive.html

问题是我的表单上已经有至少 30 个带有自定义名称、文本等的组件.重做它们会很痛苦.

The thing is I have at least 30 components already with custom names, text, etc on my form. Redoing them would be a pain.

那么,有没有一种简单的方法可以做到这一点?

So, is there an easy way to do this?

感谢您的回复.

推荐答案

有一种方法,虽然不推荐(取决于应用程序的复杂性).在尝试此操作之前,请确保您已经备份您的项目.

There is a way, though not recommended (depending on the complexity of your application). Make sure you've got a full backup of your project before trying this.

  1. 在您的项目仍然打开的情况下,关闭所有打开的文件并点击 Ctrl + H.
  2. Find what中输入要替换的控件的完全限定名称.
  3. Replace with 中输入自定义控件的完全限定名称.
  4. Look in设置为Current Project.
  5. 检查Match caseMatch整个单词.
  6. 点击全部替换按钮.
  1. With your project still open, close all open files and hit Ctrl + H.
  2. In Find what enter the fully qualified name of the control to replace.
  3. In Replace with enter the fully qualified name of the custom control.
  4. Set Look in to Current Project.
  5. Check Match case and Match whole word.
  6. Click Replace All button.

这篇关于我可以快速将我的组件替换为自定义主题的组件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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