摘要: 首先定义一个接口类:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace MY_Factory{ /// /// interface 是接口,实现接口 /// public interface ICoat { /// /// 方法1 /// void GetYourCoat(); /// /// 方法2 /// v... 阅读全文
posted @ 2013-11-26 14:14 JasonGu0 阅读(512) 评论(0) 推荐(0)
摘要: 这里,我是自定义了一个类OverrideTxt继承了System.Windows.Forms.TextBoxusing System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WindowsFormsApplication1{ public class OverrideTxt : System.Windows.Forms.TextBox { protected override void OnTextChanged(EventArgs e) ... 阅读全文
posted @ 2013-11-26 13:54 JasonGu0 阅读(2068) 评论(0) 推荐(0)