我可以使用什么而不是Datagridview? [英] What Can I Use Instead Of Datagridview ?

查看:84
本文介绍了我可以使用什么而不是Datagridview?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一些像datagridview但更漂亮(透明)的东西。我只想在C#表单中显示某些来自sql的表,我想在C#中添加或编辑这些表。那我该怎么办?

I want something like datagridview but prettier(transparent). I just want something to show some table from sql in C# form and i want to add or edit those tables in C#. so what should i do ?

推荐答案

参考 - c# - 有什么替代方案DataGridView的? - 堆栈溢出 [ ^ ]。


我真的非常怀疑透明度可以让你的视野更漂亮。而且我很确定即使它看起来更漂亮,但是可读性较差或功能较少,否则很多用户都会感激不尽。首先,用户需要做好自己的工作,而不是欣赏设计效果;现在很难让任何有经验的用户感到惊讶。优秀的设计首先是清晰可读,没有分心。透明度通常会影响可读性。



但是,我们假设你真的有个好主意。也许你应该通过一些半透明元素提供非常丰富的信息,这是我不知道的。但是,如果你解释它会更好。



无论它是什么,我都可以给你最好的建议:甚至不尝试使用 System.Windows.Forms 控件来试验透明度。在这个库中,透明度实现如果不可能。这完全没用,只是浪费时间。不要误解我的意思:你可以用GDI +直接渲染的东西完美地使用透明度。它可能完美无缺。我只是谈论典型的控制渲染。要在控件中使用透明度,您可能需要迁移到WPF。



-SA
I really, really doubt that transparency can make your view prettier. And I am pretty sure that even it looks prettier to you, but is less readable or less functional otherwise, not many users will be thankful. The users, first of all, need to do their work, not admire the design effect; it's hard to surprise any experienced user with effects these days. And good design is, first and foremost, clear readability with no distractions. And transparency usually compromise readability.

However, let's assume you really have a good idea. Perhaps you should something very informative through some semi-transparent element, something I don't know. But then, it would be better if you explained it.

No matter what it is, I can give you the best advice: don't even try to experiment with transparency with System.Windows.Forms controls. In this library, transparency implementation if impossibly bad. This is totally useless, would be just a waste of time. Don't get me wrong: you can perfectly use transparency with something you directly render with GDI+. It may work perfectly. I'm just talking about typical control rendering. To use transparency in controls, you may want to migrate to WPF.

—SA


这篇关于我可以使用什么而不是Datagridview?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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