上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 85 下一页
  2014年5月24日
摘要: publicclassMyTabControl:TabControl{protected override void OnMouseUp(MouseEventArgs e){if(e.Button==System.Windows.Forms.MouseButtons.Right){for(int i... 阅读全文
posted @ 2014-05-24 16:06 武胜-阿伟 阅读(212) 评论(0) 推荐(0) 编辑
摘要: I try the one of your approach, it works well in my computer. Below is my code: public void AddContextMenu() { ContextMenu mnuContextMenu = new Con... 阅读全文
posted @ 2014-05-24 16:02 武胜-阿伟 阅读(573) 评论(0) 推荐(0) 编辑
摘要: In this article let us see how to create Context Menu in Windows Forms application using C#IntroductionIn this article we will see how to create Conte... 阅读全文
posted @ 2014-05-24 15:58 武胜-阿伟 阅读(744) 评论(0) 推荐(0) 编辑
摘要: 执行如下 批处理:"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\svcutil.exe" http://127.0.0.1:40001/TestService?wsdl /language:C# /out:"D:\TestProxy.cs" /... 阅读全文
posted @ 2014-05-24 15:44 武胜-阿伟 阅读(2991) 评论(0) 推荐(1) 编辑
  2014年5月21日
摘要: Microsoft Open Technologies has recently released a Portable Class Libraryfor SQLite. Thanks to it, we can use SQLite in the same way in all the suppo... 阅读全文
posted @ 2014-05-21 23:06 武胜-阿伟 阅读(516) 评论(0) 推荐(0) 编辑
摘要: Cancellation tokenParallel optionsCancellationTokenSource cancellationTokenSource = new CancellationTokenSource();Task.Factory.StartNew(() =>{ Thre... 阅读全文
posted @ 2014-05-21 22:56 武胜-阿伟 阅读(234) 评论(0) 推荐(0) 编辑
摘要: The start index: this is inclusive, i.e. this will be the first index value in the loopThe end index: this is exclusive, so it won’t be processed in t... 阅读全文
posted @ 2014-05-21 22:52 武胜-阿伟 阅读(232) 评论(0) 推荐(0) 编辑
摘要: An IEnumerable objectAn Action of T which is used to process each item in the listList dataList = new List { "this", "is", "random", "sentence... 阅读全文
posted @ 2014-05-21 22:51 武胜-阿伟 阅读(227) 评论(0) 推荐(0) 编辑
摘要: for (int i = 0; i SteppedIntegerList(int startIndex, int endEndex, int stepSize){ for (int i = startIndex; i { Console.WriteLine... 阅读全文
posted @ 2014-05-21 22:49 武胜-阿伟 阅读(168) 评论(0) 推荐(0) 编辑
摘要: List integers = new List() { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };Parallel.ForEach(integers, (int item, ParallelLoopState state) =>{ if (item > 5) { ... 阅读全文
posted @ 2014-05-21 22:46 武胜-阿伟 阅读(174) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 85 下一页