VB.NET中的连续表格 [英] CONTINUOUS FORM in VB.NET
本文介绍了VB.NET中的连续表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
2005年第9892条在C#中处理此问题。但我想知道近年来MS是否融入了某些东西。
每个人都知道MS Access中的连续形式,但我想独立开发它。
我尝试过的事情:
我试过Igrid,动态网格,treegrid, aso ...
Article 9892 of 2005 handles this in C#. But I want to know if MS inegrated something in the recent years.
Everyone knows the continuous forms in MS Access, but I want to develop it standalone.
What I have tried:
I tried Igrid, dynamic grid, treegrid, aso ...
推荐答案
如果您愿意尝试WPF,则有一个 XAML中继器控件:XAML中继控制 - 反思IT [ ^ ]
转发器控件已在ASP.NET中可用。
以下是VB.NET中用户控件的示例: WinForms自定义容器控制 [ ^ ]
Microsoft.VisualBasic.PowerPacks中似乎有一个Repeater Control加载项: Microsoft.VisualBasic.PowerPacks Namespace | Microsoft Docs [ ^ ]
If you are willing to try WPF, there is an XAML Repeater Control: XAML Repeater Control - Reflection IT[^]
The repeater control was already available in ASP.NET.
Here is an example with a User Control in VB.NET: WinForms Custom Container Control[^]
There seems to have been a Repeater Control Add-in in Microsoft.VisualBasic.PowerPacks: Microsoft.VisualBasic.PowerPacks Namespace | Microsoft Docs[^]
嗨瑞克,
感谢您的输入,但我认为这个datarepeater没有由于字体大小和格式与控制有关,因此能够独立地格式化控件。
我的意思是什么:例如
重复4 textbox2将是粗体,红色,大小14
重复8 textbox1将是黄色下划线
等等。
https://www.codeproject.com/Articles/9892/Continuous中的深层克隆类-Forms-for-NET 文章似乎处理它,但我无法让它工作....但是...
将发布我得到它的解决方案。我喜欢用KISS方法编写代码(Keep It Stupid Simple)
问候并再次感谢
Johan
Hi Rick,
Thanks for your input, but I think this datarepeater doesn't give the ability to format controls independently per occurance, since fontsize and format are control-dependent.
What do I mean: e.g.
repetition 4 textbox2 would be bold, red, size 14
repetition 8 textbox1 would be yellow underlined
and so on.
The "deep clone" class in https://www.codeproject.com/Articles/9892/Continuous-Forms-for-NET article seems to handle it, but I can't get it working ....yet ...
will post the solution when I get it. I like to code with the KISS method (Keep It Stupid Simple)
regards and thanks again
Johan
这篇关于VB.NET中的连续表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文