问题标签 [dotnetbar]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
608 浏览

vb.net - mouseenter 使按钮可见但按钮单击事件然后不会触发

我已经根据鼠标是否在组件内来显示和隐藏按钮(btnImageRemove),但是当我单击该按钮时,事件不会触发。

我已经尝试了按钮上的所有单击和鼠标单击事件,以及占据其区域的所有组件,但我无法为该按钮触发事件

缩小的原因更多:我已经缩小到如果我添加任何内容以在运行时显示/隐藏按钮,在另一个事件期间,按钮不会触发点击事件,也不会变成橙色(默认 dotnetbar 按钮操作)

0 投票
1 回答
204 浏览

c# - advtree 无法调整最后一列的大小

我无法调整广告树中最右边的列的大小。

我已将 advtree 中的以下标志设置为 true

我可以调整其他列的大小并移动它们,但我无法调整最后一列的大小。

0 投票
1 回答
1807 浏览

vb.net - Dotnetbar 选项卡控件 TabItem 关闭提示

我在 Visual Studio 2010 中使用 dotnetbar。

我在表单中添加了 dotnetbar tabcontrol,标签上的关闭按钮可见。我只想得到一个消息框提示,当通过单击选项卡上的关闭按钮关闭选项卡时,是否关闭它。如果单击“是”,选项卡将关闭....否则不会。

我找不到关闭按钮单击事件或任何其他方法来做到这一点。

0 投票
1 回答
1847 浏览

vb.net - Dotnetbar 滑动面板 - 调整大小

我在 Visual Studio 2010 中使用 dotnetbar。

我添加了 dotnetbar 滑动面板来形成。单击按钮时,面板滑入;按下取消按钮时,面板滑出。但是,当窗体最大化或重新调整大小时,滑动面板不会改变它的大小。滑动面板锚模式是左+右+上+下(我不需要在填充停靠模式下)。

此外,如果我们在滑动面板可见时运行表单并最大化表单,那么它会锁定到它的锚点并最大化。如果我们在滑动面板不可见的情况下最大化表单,它无法检测到表单大小并且无法锚定。

0 投票
0 回答
376 浏览

multithreading - Background bleeding through in Windows Forms tab click

I have an application that has a 3rd party tab strip (DotNetBar) across the top of a parent form in a WinForms application. The issue that is occurring is that when clicking on a tab to switch forms and then moving the mouse around the screen, the application behind the WinForms application begins to bleed through which is undesirable.

Now I have seen this behavior over 4 version now of the tab strip, hoping an update would fix the issue but I don't believe the tab strip is at fault.

My hypothesis is this, but please answer independently. The tab clicks have some intensive code processing occurring (database calls, screen load stuff, logic, etc.) when clicked. I'm wondering if the cause is that because all of this processing must be occurring on the UI thread, the WinForms application can't keep the main application Window refreshed (maybe?) and the background is bleeding through. I wonder if offloading the intensive work to a background thread, and allow the UI to refresh and continue separately would help.

I think I've seen similar behavior on poorly performing Windows Machines over the years, that's why I believe this issue is generic and not necessarily of the control (although I could be wrong on this).

My main generic question here is what could cause the application to bleed through the main foreground in a Windows Forms application?

0 投票
2 回答
6520 浏览

vb.net - 无法查看表单上的 dotnetbar 控件

我有一个 dotnetbar 版本 10.0.0.3,当我将它添加到控制工具箱窗口并将其拖动到我的表单时,这总是会发生。

在此处输入图像描述

如您所见,LabelX1、TextBoxX1 和 ButtonX1 在表单中,但在设计中却没有。

0 投票
0 回答
186 浏览

vb.net - Form2.Show 上的 VB NullReferenceException 和 InvalidOperationException?

打开第二个表格后,我收到两个错误,我找不到解决办法。错误是:

System.NullReferenceException & System.InvalidOperationException

是否有任何与 Form2.Show() 冲突的代码?有没有办法来解决这个问题?也许是 DotNetBar?

0 投票
2 回答
1205 浏览

c# - DotNetBar c# app 在另一台电脑上打开时崩溃

我创建 ac# 应用程序只是为了测试 DotNetBar 组件,它在我的计算机上完美运行,但是当我将它发送给朋友尝试应用程序立即崩溃时。我是否必须移动一些 dll 文件或其他东西。谢谢

0 投票
1 回答
1651 浏览

c# - 以编程方式在运行时使用给定结构填充 Treeview

我正在开发一个小程序,它会抓取一些数据并应将它们显示在 Treeview 或DotnetBars advTree控件上。

在按钮单击事件中,将收集一些数据,(字符串)输出如下所示。(树视图的结构)

第一列包含节点 ID,第二列包含 ID,它是子节点的来源。第三个包含节点文本,它应该显示在树视图中,最后一个是为了以后的目的(值输出)。

结果:(树视图示例)

  • 所有版本
    • 第一类
      • 20.0.2
        • 20.0.21
        • 20.0.20a
        • 20.0.5
    • 类别 2
      • 12.2
        • 12.2.77
        • 12.2.26

如何以编程方式添加 Treeview 项目及其所有子项目?

0 投票
1 回答
1492 浏览

c# - Dotnetbar-populate only 表中单个外部添加的超网格列

我正在使用 DotnetBar,使用了 Supergrid 并通过特定表中的数据填充了它的网格面板,现在我已经动态添加了一个列,如下所示,

如下图所示

在此处输入图像描述

这里 ID 和 ATRIBUTES 列由不同的数据集填充,我只希望 Attribute Type 列应该由不同的数据集填充,

任何帮助将不胜感激。