WinForm
傲霸红情
熟练使用ASP.net、C#、Java,Ajax等编程语言
熟练使用Spring、Hibernate、Struts、DWR,ExtJS,MVC开源框架。
熟练使用JavaScript脚本,HTML、XML,CSS等
熟练使用SQL Server、Oracle、MySQL数据库,且具有良好的数据库设计能力。
熟练使用IIS、Tomcat、JBOSS 服务器。
了解 Web Service技术;
展开
-
WinForm中动态调用WebService
7.7 WinForm如何调用Web Service本节介绍WinForm如何调用Web Service。7.7.1 .NET的WinForm调用Web Service在.NET的WinForm中调用Web Service的操作基本上和在ASP.NET中调用Web Service是一样首先在项目上单击鼠标右键,在弹出的快捷菜单中选择“添加Web引用”命令,如图7-11所示。原创 2009-08-14 14:52:00 · 4636 阅读 · 0 评论 -
让窗体搞定大小,不容许拖动
设置属性FormBorderStyle = FixedSingle 或 FixedDialog 但是可以最大化如果还不想让它最大或最小化,可以设置Form的属性: Maximize = False Minimize = False原创 2009-09-09 10:19:00 · 537 阅读 · 0 评论 -
DataGridView跟随窗体的变化还变化
把DataGridView的Anthor属性Top,Right,Left,Button 四个属性全部选中,把AutoSizeColumnsMode属性设置成true就搞定了!原创 2009-09-09 09:57:00 · 1125 阅读 · 0 评论 -
DataGridView中一些关键字的处理,如特别字变成红色
Private Sub dgvRealDataBox_DataBindingComplete(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewBindingCompleteEventArgs) Handles dgvRealDataBox.DataBindingComplete原创 2009-09-27 16:13:00 · 1504 阅读 · 1 评论 -
DataGridView添加行号
在DataGridView控件中的 RowPostPaint事件中:(VB.net源码)Private Sub dgvRealDataCar_RowPostPaint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewRowPostPaintEventArgs) Handles dgvRealD原创 2009-09-22 14:29:00 · 606 阅读 · 0 评论 -
VB.net文本框只允许输入数字与. 利用正则表达式验证IP地址
文本框只允许输入数字或 . 并且验证IP地址输入是否合法If Not System.Text.RegularExpressions.Regex.IsMatch(Me.txtIP.Text, "^/d{1,3}/./d{1,3}/./d{1,3}/./d{1,3}$") Then CCDC.Utility.msg.ShowWarning("服务器地址输入不正确。")原创 2009-09-27 10:52:00 · 5222 阅读 · 3 评论 -
VB.net中的DataGridView获取当前被选中的行号
Me.DataGridView1.CurrentCell.RowIndex 可以获取当前被选中的行号可以定义一个静态全局的变量index然后在SelectionChanged事件中为index=Me.DataGridView1.CurrentCell.RowIndex 这样就可以动态的在其他地方使用当前被选中的行号index了 me.DataGridView1 .Sel原创 2009-10-11 08:39:00 · 16024 阅读 · 9 评论 -
为窗体设置默认按钮与取消按钮
form1.AcceptButton = button1; //为窗体form1设置默认按钮form1.CancelButton = button1;//为窗体form1设置取消按钮原创 2009-10-29 13:56:00 · 1326 阅读 · 1 评论 -
开发中常用一些技巧
1. 如何创建一个可改变大小没有标题栏的窗体?(How to create a form with resizing borders and no title bar?)form1.Text = string. Empty;form1.ControlBox = false;2. 如何在.NET的Windows窗体上启用XP主题集?(How to use XP Themes with转载 2009-10-29 13:58:00 · 692 阅读 · 1 评论