上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页
摘要: You may receive this exception when you use the Invoke() method (of a form perhaps). The cause of this exception is another exception which occured inside the from:http://www.geekpedia.com/KB70_Exception-has-been-thrown-by-the-target-of-an-invocation.htmlmethod being invoked.Since you don't know 阅读全文
posted @ 2011-12-19 13:55 Yaoquan.Luo 阅读(410) 评论(0) 推荐(0)
摘要: @echo offfor /f "delims=" %%i in ('dir /s/b/ad .svn') do ( rd /s/q "%%~i")exit 阅读全文
posted @ 2011-12-15 14:48 Yaoquan.Luo 阅读(1097) 评论(0) 推荐(0)
摘要: ::@echo off::del /f /s /q "%cd%\*.pdb"::exit::@echo offrem 正在搜索...rem 重命名文件for /f "delims=" %%i in ('dir /b /a-d /s "*.sql"') do ren %%i %%~nirem 重命名完畢pause 阅读全文
posted @ 2011-12-05 17:20 Yaoquan.Luo 阅读(211) 评论(0) 推荐(0)
摘要: this.panelControl1.LookAndFeel.UseDefaultLookAndFeel = false;this.panelControl1.LookAndFeel.UseWindowsXPTheme = true;-----------------------------------------------------------------Hello,In order to use a custom backcolor you will have to switch off the skinning paint scheme of the PanelControl.Ple 阅读全文
posted @ 2011-11-22 11:55 Yaoquan.Luo 阅读(333) 评论(0) 推荐(0)
摘要: C# Winforms TabControl elements reading as empty until TabPage selected http://www.devexpress.com/Support/Center/p/S136925.aspx http://stackoverflow.com/questions/2678184/c-sharp-winforms-tabcontrol-elements-reading-as-empty-until-tabpage-selected I have Winform app I am writing in C#. On my form... 阅读全文
posted @ 2011-11-10 18:51 Yaoquan.Luo 阅读(340) 评论(0) 推荐(0)
摘要: @echo offdel /f /s /q "%cd%\*.pdb"exit----------------------清除__desktop.ini _desktop.ini是威金和新快乐时光产生的垃圾文件,在每个文件夹中都建一个,真是可恶之极. 手动清除的话有点麻烦,他也用DEL命令做的,这里用到了 /A 参数 内容如下: @echo off echo ... 阅读全文
posted @ 2011-10-31 11:28 Yaoquan.Luo 阅读(250) 评论(0) 推荐(0)
摘要: from:http://social.msdn.microsoft.com/Forums/en/netfxbcl/thread/54884c78-74a7-40b7-8a4e-44ee4abc7717I am using VS2008. I have a form which contains several usercontol. I am trying to localize the form to another lanuage.I changed the localizable property of the form to true, change the languange to 阅读全文
posted @ 2011-10-28 17:43 Yaoquan.Luo 阅读(226) 评论(0) 推荐(0)
摘要: string.Empty不分配存储空间""分配一个长度为空的存储空间 所以一般用string.Empty为了以后跨平台,还是用string.empty在 C# 中,大多数情况下 "" 和 string.Empty 可以互换使用。比如:string s = "";string s2 = string.Empty;if (s == string.Empty) { //}if语句成立判定为空字符串的几种写法,按照性能从高到低的顺序是:s.Length == 0 优于 s == string.Empty 优于 s == "" 阅读全文
posted @ 2011-10-26 11:47 Yaoquan.Luo 阅读(361) 评论(0) 推荐(1)
摘要: using System.Text.RegularExpressions;//使用Regex.Split多字符分割string str="aaajsbbbjsccc";string[] sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase);foreach (string i in sArray) Response.Write(i.ToString() + "<br>"); //使用Regex的Replace方法,下面的语句替换 "b "为 " 阅读全文
posted @ 2011-10-20 18:56 Yaoquan.Luo 阅读(237) 评论(0) 推荐(0)
摘要: private void repositoryItemLookUpEdit1_Click(object sender, EventArgs e) { if (gridView1.ActiveEditor.EditValue.ToString()=="System.Object") { int selectRow = gridView1.GetSelectedRows()[0]; DataRow dr = dsSysusera.Tables[AaaTableName].Rows[selectRow]; string svalue = dr["module" 阅读全文
posted @ 2011-10-15 12:55 Yaoquan.Luo 阅读(306) 评论(0) 推荐(1)
摘要: 一直很奇怪C#的预定义数据类型中为什么加了一个decimal,有float和double不就够了吗?今天来挖一挖。 浮点型 Name CTS Type Description Significant Figures Range (approximate) float System.Single 32-bit single-precision floating point 7 ±1.5 × 10−45 to ±3.4 × 1038 double System.Double 64-bit double-pr... 阅读全文
posted @ 2011-10-14 14:16 Yaoquan.Luo 阅读(300) 评论(0) 推荐(0)
摘要: 1、算法Math.Round 采用的是:"四舍六入五考虑,五后非零就进一,五后皆零看奇偶,五前为偶应舍去,五前为奇要进一"問題:在VS2005中 即时窗口下运行结果如下Math.Round(1.435,2)1.44Math.Round(2.435,2)2.44Math.Round(5.435,2)5.44Math.Round(4.435,2)4.43Math.Round 采用的是:"四舍六入五考虑,五后非零就进一,五后皆零看奇偶,五前为偶应舍去,五前为奇要进一"但是为什么Math.Round(4.435,2)结果是4.43其他的都是x.44回答:都说了是 阅读全文
posted @ 2011-10-14 10:16 Yaoquan.Luo 阅读(598) 评论(0) 推荐(0)
摘要: from:http://www.51testing.com/?uid-251629-action-viewspace-itemid-198108 软件测试人员应掌握的技能■测试理论和方法,包括各种测试用例设计方法;■软件工程的一些基础知识;■必须掌握至少一门脚本语言;■掌握一些测试工具和一些专门工具的使用;■质量管理的基础知识;软件测试人员应具备的素养1、要有做事的耐心,不急躁,重复做一件事情不会不耐烦。测试工作是一件很繁琐的工作,需要极大的耐心。特别是在执行测试时,经常需要重复做同一件事情。2、善于沟通,就事论事,不喜欢评论,不炫耀自己的做事方法测试过程中经常需要和开发人员、用户、经理等人进 阅读全文
posted @ 2011-10-11 11:08 Yaoquan.Luo 阅读(581) 评论(0) 推荐(0)
摘要: 写字楼里写字间,写字间里程序员;程序人员写程序,又拿程序换酒钱。酒醒只在网上坐,酒醉还来网下眠;酒醉酒醒日复日,网上网下年复年。宁愿老死程序间,只要老板多发钱;小车大房不去想,撰个2k好过年。若要见识新世面,公务员比程序员;一个在天一在地,而且还比我们闲。别人看我穿白领,我看别人穿名牌;天生我才写程序,臀大近视肩周炎。年复一年春光度,度得他人做老板;老板扣我薄酒钱,没有酒钱怎过年.春光逝去皱纹起,作起程序也委靡;来到水源把水灌,打死不做程序员.别人笑我忒疯癫,我笑他人命太贱;状元三百六十行,偏偏来做程员!但愿老死电脑间,不愿鞠躬老板前;奔驰宝马贵者趣,公交自行程序员。若将程员比妓女,一在平地一 阅读全文
posted @ 2011-09-26 11:45 Yaoquan.Luo 阅读(193) 评论(0) 推荐(0)
摘要: from:http://www.devexpress.com/Support/Center/p/Q293828.aspxIs there something like [Data Source Update Mode =? OnPropertyChanged] in DataGrid or DataGridView? Hi,I can set on devexpress editors the DataSourceUpdateMode=OnPropertyChanged...but I need do the same for DataGrid or DataGrid view....do y 阅读全文
posted @ 2011-09-19 15:21 Yaoquan.Luo 阅读(237) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页