问答
-
关于c#:在.net项目中添加对msvcr90.dll的引用
add reference to msvcr90.dll in .net project 我们的一位自托管客户,没有公开安装 msvcr90.dll。为了使我们的应用程序在他们的机器上运行,每次部署后,…… -
关于 .net:如果检测到相同版本,则升级引导程序包
Upgrade a bootstrapper bundle if the same version is detected 我有一个 WiX 引导程序包: 1 <Bundle Name="blah" Version="1.0.0" Manufactu…… -
关于 .net:为什么 DateTime 是 ISerializable 在 Unity C# 中返回 false?
Why DateTime is ISerializable returns false in Unity C#? 我已经在多个 c# 版本中尝试过以下代码,并且可以正常工作: 12 System.DateTime date…… -
关于.net:Dapper GridReader 已经处理错误
Dapper GridReader already Disposed Error 我正在使用 Dapper dot net 执行一个返回 4 个结果集的存储过程。这是我的做法: 12345678910111213141516 …… -
关于c#:创建GPRS连接
Create GPRS connection 我有一台运行 Windows Mobile 5.0 的设备。它有一个程序,可以在运行时即时创建和删除手持设备的 GPRS 连接。 我正在尝试构建一个可…… -
关于 .net:使用 abcpdf 列出 pdf 文档中的所有标签
listing all the tags in a pdf document using abcpdf 我正在尝试使用 AbcPdf .net 组件(版本 7)来处理一些 PDF 并生成元数据。我想知道是否有办法列出pdf…… -
关于c#:在Windows窗体中刷新DataGridView
Refresh DataGridView in Windows form 我有两个表单,分别是表单 A 和表单 B。当我单击表单 B 上的保存按钮时,我希望表单 A 的 DataGridView 刷新。 我应…… -
关于c#:如何在WinForms中实现丰富的UI?
How to implement a Rich UI in WinForms? 我想为我的桌面应用程序创建一个丰富的 UI,但是 WPF 对我的需求来说太复杂了,我更喜欢使用 WinForms(如果可能…… -
关于c#:WinRT中使用FlipView和DataTemplateSelector动态显示Items
Dynamically displaying Items using FlipView and DataTemplateSelector in WinRT 我正在使用 Flipview 和 DataTemplateSelector 来确定在运行时应用哪个 D…… -
关于用于文本算法的 c#:.NET 库?
.NET library for text algorithms? 你知道任何用于文本算法的 .NET 库吗? 特别是我对字符串匹配和全文搜索算法感兴趣,例如 Bitap 算法 莱文斯坦距离 …… -
关于.net:WPF中鼠标下A型控件的计数
count controls of type A under the mouse in WPF 我在画布上有一些自定义的 A 面板,那里也有 B 面板,我如何计算 A 面板实际上位于鼠标光标处? 我知道…… -
关于c#:如何将自定义控件属性创建为表单,并且该属性具有项目中所有表单的选项?
How to create a custom control property as form, and the property have options of all forms from the Project? 我正在使用 VB.Net 开发一个 winform…… -
关于 c#:Unable to read text from an image using tessnet2 and Tesseract-OCR
Unable to read the text from an image using tessnet2 and Tesseract-OCR 我编写了下面的.Net 代码来从图像中读取文本: 用于编写代码的平台: Windows …… -
关于 c#:Operator ‘
Operator '&' cannot be applied to operands of type 'string' and 'int' 我正在将字符串转换为十六进制,然后执行 相关讨论 只是一个细节: ToC…… -
关于 c#:SignedXml 生成无效签名
SignedXml generates invalid signatures 我一直试图让 .NET 中的 XMLDSIG 支持正常运行,更具体地说是 SignedXml 类。我正在实施第三方服务,他们最近才开…… -
-
-
关于 .net:使用 Google Analytics API 在 C# 中显示信息
Use Google Analytics API to show information in C# 我整天都在寻找一个好的解决方案,但 google 发展如此之快,以至于我无法找到有效的解决方案。我想要…… -
关于 c#:UserPrincipal SamAccountName throws DirectoryServicesCOMException unhandled “A local error has occurred”
UserPrincipal SamAccountName throws DirectoryServicesCOMException unhandled "A local error has occured" 我正在编写一段代码,它应该根据他们的 SamAc…… -
关于.net:将窗口焦点恢复到以前的所有者
Restoring window focus back to previous owner 我在系统托盘中有一个应用程序,双击它会打开一个窗口,相当标准;但是,当您关闭窗口时,我希望在打开我的…… -
关于 c#:StyleCop 抑制
StyleCop Suppression 是否可以在更全局的内容中抑制 StyleCop 规则...换句话说,不只是使用源内联属性? 您可以使用 Settings.StyleCop 文件禁用某些 styl…… -
关于 .net:在 Visual Studio 2013 中默认显示 VB.Net 的所有文件
Show all files by default for VB.Net in Visual Studio 2013 我想知道,在 Visual Studio 2013 中,如何修改默认的 VB WindowsForms 模板以始终显示所有文…… -
关于c#:先使用Try Catch或校验值
Using Try Catch or check value first 我需要知道什么更好(对于性能和其他方面),在预期错误时使用 Try Catch 并且在错误发生时没有替代方案或首先检查值?…… -
关于 .net:侦听来自 Exchange 服务器的传入电子邮件
Listening for incoming emails from an Exchange Server Microsoft Exchange 服务器上有一个电子邮件帐户(或可能有多个帐户)。我想从 .Net 应用程序注册/附…… -
关于.net:加拿大邮政编码正则表达式?
Canadian postal code regex? 在邮政编码字段中,只有以下格式应该是有效的。 B1C 2B3 或 B1C3D3 如何为此编写正则表达式? 编辑: 1 ([a-zA-Z]……