01 2018 档案
摘要:1.窗体构造函数中写Control.CheckForIllegalCrossThreadCalls =false; 2.Invoke(new MethodInvoker(delegate() { //do something... }));
阅读全文
摘要:1 private string GetAccountNo() 2 { 3 try 4 { 5 string shortName="B"; 6 string latestAccountNO = shortName + "000001"; ...
阅读全文
摘要:int sNum = 0; string s = "100"; int Result = 0; int.TryParse(s, out Result) //转换失败Result为0 转换成功Result为结果值 if(Result!=0) { sNum=Result; }
阅读全文

浙公网安备 33010602011771号