如何制作自定义表格? [英] How to make custom forms?

查看:126
本文介绍了如何制作自定义表格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在C#Visual Studio 2010 Express中制作自定义表单.我知道我可以办到,因为MS Office具有自定义表格(仅适用于Windows 7和8),我有很多问题要在下面列出
问1.我将如何自定义表格?我在youtube上找到了一些视频,下面将提供这些视频,我认为这可能是答案,但这是专业的吗?
这里是链接:
视频1: http://www.youtube.com/watch?v=sNO6G5RzBdQ [ http://www.youtube.com/watch?v=tJlY9aX73Vs [ 然后点击主题",您将能够更改Windows的外观(例如,使XP看起来像7)
但是您可以单击浏览",然后选择自己的主题文件.我该怎么办?
Q 3.一旦我创建了一个主题,如何才能将其应用到一个特定的应用程序中(使表单和消息框等看起来相同)而又不使所有应用程序看起来都一样?
问4.如果主题设置为Windows 7时,如果您有Google chrome或MS Office,则看起来不再像Costum形式.如何查看并更改主题?
问题5:问题1中的视频是否为Al?微软或Google会这样做吗?


(请回答尽可能多的问题.)

I am trying to make a custom form in C# Visual Studio 2010 express. i know that i can be done because MS office has custom forms (exept for windows 7 and 8) i have a lot of Questions that i will list below
Q 1. how will i make the form custom? i found a few videos on youtube, which i will provide below, which i think may be the answer, but is it proffesional?
here are the links:
video 1:http://www.youtube.com/watch?v=sNO6G5RzBdQ[^]
video 2:http://www.youtube.com/watch?v=tJlY9aX73Vs[^]
Q 2. how do i make a theme? if you right click on the desk top, click "personlaize"( in XP it''s "Properties")
then click "themes", you will be able to change the look of windows(e.g. make XP look like 7)
but you can click "browse" and choose a theme file of your own. how do i do this?
Q 3. once i have made a theme, how can i apply it to one aplication in particualr (making the form and messageboxes ect. look the same) without making all appications look like it?
Q 4. if you have Google chrome or MS office when the theme is set to windows 7, it dosen''t look like the costum form any more. how do i check and see the theme and change it?
Q 5.Are the videos in Q 1 proffesionAl? is that the way microsoft or google would do it?


(please answer as many Questions as you can.)

推荐答案

你好

您没有指定WinApp,ASP.Net,WPF或其他?但是当您谈论Office时,我猜您指的是桌面应用程序,而当您说"Form"时,我猜您指的是WinForm.
好吧:
我认为您可以搜索Google并通过以下方式找到答案:

.Net Win Forms主题

C#.NET -如何将外观或主题添加到Windows应用程序+ C#

WinForms皮肤
Hello

you didn''t specify WinApp, ASP.Net, WPF or others? But When you talked about office, I guess you mean Desktop application, and when you said "Form", I could guess you mean WinForm.
All right:
I think you could search google and find your answers by the way look at these:

.Net Win Forms Themes

C# .NET - How to add Skins or Themes to Windows Application + C#

WinForms Skins


A1:我有一个类似的例子问题,请尝试以下操作:对皮肤使用免费的USkin工具包您的应用程序 [ ^ ]
或者您可以将Windows窗体样式设置为无,并放置一些图片框并以此作为主题(您需要制作自己的调整大小代码)
A2:尝试查看: http://www.wincustomize.com/ [ http://www.gold-software.com/TopThemesXP-file3460.html [ http://www.syncfusion.com/ [ ^ ]
有30天的试用版,我认为它比USkin
A1:I had a similar problem,try this:Use the Free USkin Toolkit to Skin your Application[^]
or you can set your windows form style to none and put some pictureboxes and make theme with that(you would need to make your own resizing code)
A2:Try looking at:http://www.wincustomize.com/[^],one of their products was windows xp theme maker and the program worked perfect,if the first solution don''t work try:http://www.gold-software.com/TopThemesXP-file3460.html[^],I haven''t tested this solution,so I don''t know if it will work
A3:solution A1 works only on 1 program
A4:Don''t know

*UPDATE*
I have found a new program for creating custom controls and forms:
http://www.syncfusion.com/[^]
there is a 30 day trial version, and in my opinion it''s much better than USkin


Shahin Khorshidnia 在解决方案1和解决方案中提供的参考要好得多 mmm3743 的2个都很好.

我认为此Code Project文章
Winforms SkinFramework [
The references given in Solution 1 by Shahin Khorshidnia and in Solution 2 by mmm3743 are good.

I think this Code Project article
Winforms SkinFramework[^] by Danielku15
may also be helpful.


这篇关于如何制作自定义表格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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