摘要:
在使用Windows窗体时,就是使用System.Windows.Forms名称空间。.NET中的大多数控件都派生于System.Windows.Forms.Control类。设计模式的设置:工具---选项Application.Exit();退出应用程序this.Close();关闭窗口 阅读全文
摘要:
阅读全文
摘要:
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... 阅读全文
摘要:
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 /... 阅读全文