摘要:
阅读全文
03 2011 档案
摘要:MSDN 原文(英文)地址:http://msdn.microsoft.com/en-us/library/aa730880(VS.80).aspxVisual Studio 2008 中 Web Application [ 'Asp.net web应用程序' 项目 ] 和 Web Site Projects [ '网站'项目 ] 的区别ScenarioWeb Application ProjectWeb Site ProjectProject definition跟 Visual Studio .NET 2003 类似,由于项目文件的存在,只有被项目文件所引用
阅读全文
摘要:http://www.51testing.com/?uid-17240-action-viewspace-itemid-1835性能测试就是用来测试软件在系统中的运行性能的。性能测试可以发生在各个测试阶段中,即使是在单元层,一个单独模块的性能也可以使用白盒测试来进行评估,然而,只有当整个系统的所有成分都集成到一起之后,才能检查一个系统的真正性能。性能测试经常和压力测试一起进行,而且常常需要硬件和软件测试设备,这就是说,常常有必要的在一种苛刻的环境中衡量资源的使用(比如,处理器周期)。外部的测试设备可以监测测试执行,当出现情况(如中断)时记录下来。通过对系统的检测,测试者可以发现导致效率降低和系
阅读全文
摘要:SQL Server 2008 R2 10.50.1092 Microsoft SQL Server 2008 R2 CTP2 (aug) 10.50.1352 Microsoft SQL Server 2008 R2 CTP3 (nov) 10.50.1600 Microsoft SQL Server 2008 R2 SQL Server 2008 (Codename: Katmai) 10.0.1075 Microsoft SQL Server 2008 CTP4 (nov) 10.0.1300 Microsoft SQL Server 2008 CTP5 (feb) 10.0.1442
阅读全文
摘要:SQL Server provides both datatypes to store character information. For the most part the two datatypes are identical in how you would work with them within SQL Server or from an application. The difference is that nvarchar is used to store unicode data, which is used to store multilingual data in yo
阅读全文
摘要:WinForm的应用程序中如果执行了一个的非常冗长的处理操作,(比如文件检索,大运算量计算),在执行时就会锁定用户界面,虽然主活动窗口还在运行,但用户无法与程序交互,无法移动窗体或改变窗体大小,导致程序的用户体验极差。这个问题在UI开发中常常遇到,比较棘手。 .NET Framework 2.0中新增的BackgroundWorker 类为解决这个问题提供了方便、快捷的途径。BackgroundWorker可以用于启动后台线程,并在后台计算结束后调用主线程的方法。 第一:主要的事件及参数。 1.DoWork——当执行BackgroundWorker.RunWorkerAsync方法时会触发该.
阅读全文
摘要:http://msdn.microsoft.com/en-us/library/ywkkz4s1.aspx#Y1500
阅读全文
摘要:1usingSystem;2usingSystem.Threading;3usingSystem.ComponentModel;4usingSystem.Text;56publicclassPiCalculator7{8publicstaticBackgroundWorkercalculationWorker=newBackgroundWorker();9publicstaticAutoResetEventresetEvent=newAutoResetEvent(false);1011publicstaticvoidMain()12{13intdigitCount;1415Console.Wr
阅读全文
摘要:http://xxinside.blogbus.com/logs/47162540.html
阅读全文
摘要:代码: //=====创建互斥体法:===== //bool blnIsRunning; //Mutex mutexApp = new Mutex(false, Assembly.GetExecutingAssembly().FullName, out blnIsRunning); //if (!blnIsRunning) //{ // MessageBox.Show("程序已经运行!", "提示", // MessageBoxButtons.OK, MessageBoxIcon.Exclamation); // return; //} 代码: //保证
阅读全文
浙公网安备 33010602011771号