摘要:
public class CounterNoLock:CountBase { private int _count; public int Count { get { return _count; } } ...
阅读全文
posted @ 2018-08-20 14:12
sportdog
阅读(111)
推荐(0)
摘要:
public abstract class CountBase { public abstract void Increment(); public abstract void Decreament(); } public class Counter:CountBase { public int C
阅读全文
posted @ 2018-08-20 11:30
sportdog
阅读(102)
推荐(0)
摘要:
public class ThreadSample { private readonly int _number; public ThreadSample(int number) { _number = number; } public void CountNumber() { for (int i
阅读全文
posted @ 2018-08-20 10:44
sportdog
阅读(124)
推荐(0)
摘要:
业务描述:通过简单工厂设计模式实现对不同数据库的支持(如:Ms Sqlserver,MySql) 思路: 解决方案下包括以下项目 引用关系: 数据层引用StudyEntity 业务逻辑层引用StudyEntity、数据层 Web层引用StudyEntity、业务逻辑层 StudyEntity层代码
阅读全文
posted @ 2018-07-30 15:37
sportdog
阅读(157)
推荐(0)
摘要:
wsdl /language:C# /namespace:Camstar.WebPortal.WebPortlets.Shopfloor.SAP.GreatWall /out:gwSAPService.cs http://10.10.35.25/MESWebServices/SapWebServic
阅读全文
posted @ 2018-05-31 10:14
sportdog
阅读(162)
推荐(0)
posted @ 2018-03-07 14:53
sportdog
阅读(178)
推荐(0)
摘要:
StringToHumanTypeConverter类(从TypeConverter继承 using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namesp...
阅读全文
posted @ 2018-03-07 14:23
sportdog
阅读(191)
推荐(0)
摘要:
<Window.Resources><sys:String x:Key="myString">Hello Wpf Resource</sys:String> </Window.Resources> <TextBox Grid.Column="0" Grid.Row="0" x:Name="txtNa
阅读全文
posted @ 2018-03-07 14:15
sportdog
阅读(144)
推荐(0)
摘要:
虚拟需求:编写一个Window服务,并注册到操作系统的服务里。让他隔30秒运行一下(写当前日期到一个文本里) 步骤: cd "C:\Windows\Microsoft.NET\Framework64\v4.0.30319" InstallUtil.exe D:\Debug\Greatwall.MOM
阅读全文
posted @ 2018-02-06 14:13
sportdog
阅读(235)
推荐(0)
摘要:
收藏一下: http://www.cnblogs.com/huangcong/archive/2010/06/01/1748672.html
阅读全文
posted @ 2018-01-26 10:46
sportdog
阅读(96)
推荐(0)