Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
ComboBox 内容的自动宽度
有谁知道如何设置ComboBox内容的宽度自动调整大小 我的意思不是ComboBox本身 只是打开的内容 你不能直接使用它 做一招 首先遍历组合框的所有项目 通过将文本分配给标签来检查每个项目的宽度 然后 每次检查宽度 如果当前项目的宽度大
c
NET
WinForms
combobox
我可以为我在面板上绘制的节点显示工具提示吗?
我有一个 MMO 网格系统及其用途A 寻找路径 有时它会失败 因为我的节点放置不当 为了解决这个问题 我制作了一个网格可视化器 它工作正常 我可以看到一些节点放置得不好 但我看不到哪些节点 这是我显示节点的代码 foreach var no
c
NET
WinForms
tooltip
gdi
关闭表单后进程未关闭
我有第一种形式 它调用另一种形式 然后消失 frm visible false 该表单在被调用一次后不应返回 但它是主表单 启动程序时出现的第一个表单 我试图做到这一点 以便当您关闭第二个表单时 两个表单都会关闭 我已经尝试了多种方法 但所
c
WinForms
检测控件是否已释放
在我的应用程序中 我有一个使用线程池执行异步操作的用户控件 线程池方法如下 private void AsyncFunction object state do the calculation refresh the grid data o
c
NET
WinForms
Tulpep PopupNotifier 无法与计时器一起使用
using System using System Data SQLite using System Drawing using System Timers using System Windows Forms using Tulpep N
c
WinForms
timer
Notifications
System.Drawing.dll / NumericUpDown 的 .NET 访问冲突异常
我遇到了一个非常愚蠢的问题 我已经尝试完全重新安装 NET 但它没有解决问题 我什至无法通过谷歌搜索找到其他有同样问题的人 就在我的计算机上 如果我将 NumericUpDown 控件添加到 NET 项目中的窗体并运行该应用程序 则在运行该
c
NET
WinForms
在列标题上绘制矩形
I m painting rectangle on the column headers in datagridview but on scrolling to right it disappears as in the picture s
c
WinForms
graphics
为什么选项卡页正文不使用 .NET 选项卡控件进行更新?
我在使用 C Visual Studio 2010 中的 NET TabControl 时遇到一个奇怪的问题 启动 Windows 窗体应用程序 添加一个选项卡控件和一个按钮 向两个选项卡页添加两个不同的标签 以便您可以区分它们 该按钮的作
c
NET
WinForms
tabcontrol
WPF 中与 ControlPaint.Light 等效的是什么?
与 ControlPaint Light 等效的 wpf 是什么 http msdn microsoft com en us library 3wz9t9fy 28VS 80 29 aspx http msdn microsoft com
WPF
WinForms
Colors
在 WinForms 上使用 async/await 访问 Task.Run 中的 UI 控件
我在 WinForms 应用程序中有以下代码 其中包含一个按钮和一个标签 using System using System IO using System Threading Tasks using System Windows Form
c
WinForms
taskparallellibrary
asyncawait
.NET Winform 键盘控件
有没有winform键盘控件 我正在寻找一个可以拖放的控件 这是针对具有触摸屏功能的仓库应用程序 如餐厅应用程序中的应用程序 这是一篇 CodeProject 文章 详细介绍了如何创建触摸屏键盘 触摸屏键盘 http www codepro
NET
WinForms
Keyboard
usercontrols
事件处理程序中的“对 SetCurrentCellAddressCore 的可重入调用” - 仅当单元格行索引和列索引相等时
我正在制作一个 WinForms 应用程序 其中包含一个使用DataGridView处理简单的数据操作 确保准确输入 同时减少混乱 阅读 不使用DataGridViewComboBoxColumn 我有几个事件处理程序可以暂时将DataGr
c
WinForms
Exception
DataGridview
eventhandling
使用 linq-to-entities 将字符串转换为日期时间的大问题
如何使用 linq toEntity 将字符串转换为日期时间 我收到以下查询 其中visit date列数据类型是字符串 var memberl from v in abc visits join m in abc members on v
c
NET
WinForms
EntityFramework
linqtoentities
绑定到列表的可编辑 DataGridView
我有一个绑定到列表的 DataGridView 这些值显示良好 当我单击某个值时 它开始编辑 但是当我按 Enter 时 更改将被忽略 任何数据都不会更改 当我在值设置器中放置断点时 我可以看到它在编辑后执行 但没有显示更改的数据 我的绑定
c
WinForms
databinding
暴露底层控制的事件
我在自定义控件中有一个组合框 如何向实现自定义控件的任何人 事物公开其中的特定事件 例如 SelectedIndexChanged 或 KeyPress 等 您可以像这样转发事件 public event EventHandler Sele
c
WinForms
usercontrols
阻止Winform最大化?
我想防止我的桌面应用程序最大化 它不应该以任何方式最大化 通过双击标题栏 或通过单击键盘上的 Windows 向上箭头等 gt 我禁用了这两个最大化框 and 最小化框 gt 我还设置了最大尺寸 and 最小尺寸对于我的 WinForm仍然
c
NET
Windows
WinForms
winforms 的 MVVM [重复]
这个问题在这里已经有答案了 可能的重复 Windows 窗体的 UI 设计模式 如 WPF 的 MVVM https stackoverflow com questions 595469 ui design pattern for wind
WinForms
MVVM
以编程方式更改对象的位置
我尝试过以下代码 this balancePanel Location X this optionsPanel Location X 更改我在程序运行时在设计模式下制作的面板的位置 但它返回错误 无法修改 System Windows Fo
c
WinForms
Controls
Runtime
SaveFileDialog 在 Windows XP 上静默崩溃 WinForms 应用程序
我正在使用 C NET 4 0 和 DevExpress 组件开发 WinForms 应用程序 在 Windows 7 上一切正常 在 Windows XP SP3 上 SaveFileDialog 显示并关闭几秒钟后 应用程序将默默退出
NET
WinForms
c40
WindowsXp
ShowDialog
MouseHover 事件中的鼠标坐标?
我知道如何检索鼠标坐标PictureBox Click虽然事件e In a PictureBox MouseHover e不返回此类信息 如何获取鼠标坐标MouseHover事件 有办法吗 提前致谢 Control MouseHover h
VBNET
WinForms
«
1
2
3
4
5
6
7
...100
»