摘要: 在使用Windows窗体时,就是使用System.Windows.Forms名称空间。.NET中的大多数控件都派生于System.Windows.Forms.Control类。设计模式的设置:工具---选项Application.Exit();退出应用程序this.Close();关闭窗口 阅读全文
posted @ 2013-07-19 17:04 秋水惜朝 阅读(152) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2013-07-19 15:12 秋水惜朝 阅读(129) 评论(0) 推荐(0)
摘要: System.Collections.Generic命名空间,包含处理集合的泛型类型。添加一个新类 Vector.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Ch12Ex03{ public class Vectors:List { public Vectors() { } public Vectors(IEnumerableinitialItems) { for... 阅读全文
posted @ 2013-07-19 12:01 秋水惜朝 阅读(2564) 评论(0) 推荐(0)
摘要: Vector类using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Chapter11{ public class Vector { public double? R = null; public double? Theta = null; public double? ThetaRadians { get { return (Theta * Math.PI /... 阅读全文
posted @ 2013-07-19 09:23 秋水惜朝 阅读(145) 评论(0) 推荐(0)