VB.Net Winforms用户控制变量
I'm using VS 2005 in a VB.Net WinForms application. I have a custom User Control that requires a variable to render its data correctly. My question is...
如何在WinForms中显示显示轨迹栏值的工具提示
I'm new to C# and WinForms so please excuse me is this is a bit of a newbie question. 我是C#和WinForms的新手所以请原谅我这是一个新手问题。 I'm trying to add a tooltip to m...
我可以在CAB WinForms应用程序中托管ASP.NET应用程序吗?
I have a .NET 2.0 WinForms application that was developed using the Composite Application Block and Smart Client Software Factory. 我有一个使用Composite App...
将大型C#winforms应用程序升级到WPF的最简单方法是什么?
I work on a large C# application (approximately 450,000 lines of code), we constantly have problems with desktop heap and GDI handle leaks. WPF solves...
WinForms 使用Graphics绘制字体阴影
C#以两种方法实现文字阴影效果,同时还实现了简单的动画效果:一种是对文本使用去锯齿的边缘处理,在两个不同的位置绘制文本,形成阴影;另一个是以阴影为线条,构造影线画刷,先画背景再画前景,使用graphics.DrawString来绘制文字的阴影。实现效果如下:啥也不说了、直接上代码,源码中有注释: u...
如何使用C#滚动到WinForms TextBox中的指定行?
How can I scroll to a specified line in a WinForms TextBox using C#? 如何使用C#滚动到WinForms TextBox中的指定行? Thanks4 个解决方案 ...
Winforms C#使用正则表达式搜索文本文件,找到匹配项,并在文本框中获取该下一行匹配项
Lngton KY 40511 ARRIER — LEAVE IF NO RESPONSE LODRESS SERVICE REQUESTED Lngton KY 40511 ARRIER - 如果没有响应,则要求保留服务要求 604159595920 YAWAR MUHAMMAD YOU...
如何将WinForms文本框的前几个字符设置为只读?
I have a form with a textbox on it that is used to enter a URL. I need to add (http://) as a predefined value to this textbox and want it to be read o...
如何以正确的字体呈现unicode字符? (C#/的WinForms)
My application correctly handles different kind of character sets, but only internally - when it comes to displaying text in standard WinForms labels ...
如何将RUNAS /NETONLY功能构建到(c# /. net / winforms)程序中?
Our workstations are not members of the domain our SQL Server is on. (They're not actually on a domain at all - don't ask). 我们的工作站不是SQL服务器所在域的成员。(他们其实...
使用一些不可移除的控件创建WinForms自定义容器控件
I've written a custom tab control (FooTabControl) which hosts specific tab page controls (FooTabPage instances). The FooTabPages know to place themsel...
如何创建一个悬停的C#Winforms控件
How can you create a C# Winforms control which goes out of the bounds of its region? Such as a drop down box. Kind of like if you had a DropDownBox in...
C#Winforms:如何获取Form1设计时的引用
I have a form that has a public property 我有一张有公共财产的表格 public bool cancelSearch = false; I also have a class which is sitting in my bll (business logic...
自定义Winforms控件中的基线线
I have a custom user control with a textbox on it and I'd like to expose the baseline (of the text in the textbox) snapline outside of the custom cont...
C#WinForms控制订单更改事件
I have a WinForms application with a custom "tab" concept, in that there are 3 buttons that call their respective panels "BringToFront()" method. 我有一个...
c# WinForms /如何访问包含自定义控件的窗体控件?
Let's say I got a CustomListView control added into MainForm. 假设我在MainForm中添加了一个CustomListView控件。 // CustomListView.csclass CustomListView : ListView{...
父表单无法访问子表单公共属性 - Winforms c#
I am feeling kind of stupid at the moment, because everywhere I read this is a normal procedure, and I just cannot find why I am not able to do it als...
如何在C#winforms控件上嵌入Java控件?
Can I put a Java control (SWT, Swing, ...) on a C# control? 我可以在C#控件上放置Java控件(SWT,Swing,...)吗? I know it's possible with web controls but I don't lik...
C#中这些客户端选项的优缺点是什么? winforms,WPF,Jquery,ASP.NET AJAX和Silverlight
just wanted to clarify the options for client presentation : 只是想澄清客户介绍的选项: 1) winforms - for windows client - older technology 2) wpf - for windows cl...
如何在c# WinForms中刷新列表框的数据源
Form has one Combobox and one ListBox. When the "Add" button is clicked, I want to add the selected item from the ComboBox to the ListBox. 表单有一个组合框和一个...