yp秋水伊人

导航

2016年8月31日 #

自定义控件

摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Drawing; 5 using System.Data; 6 using System.Linq; 7 using System.Text; 8 using System.Thre... 阅读全文

posted @ 2016-08-31 21:19 yp秋水伊人 阅读(129) 评论(0) 推荐(0) 编辑

自定义 控件

摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Drawing; 5 using System.Data; 6 using System.Linq; 7 using System.Text; 8 using System.Threadi... 阅读全文

posted @ 2016-08-31 21:14 yp秋水伊人 阅读(106) 评论(0) 推荐(0) 编辑

listview 控件

摘要: private void Form1_Load(object sender, EventArgs e) { //设置该listview关联的imagelist listView1.LargeImageList = imageList2; listView1.SmallImageList = imag 阅读全文

posted @ 2016-08-31 21:11 yp秋水伊人 阅读(112) 评论(0) 推荐(0) 编辑

ps

摘要: ps网页设计(快捷键) 阅读全文

posted @ 2016-08-31 21:06 yp秋水伊人 阅读(119) 评论(0) 推荐(0) 编辑

递归

摘要: 一、概念conception: 函数体内调用本函数自身,直到符合某一条件不再继续调用。 二、应满足条件factor: (1)有反复执行的过程(调用自身); (2)有跳出反复执行过程的条件(函数出口) 三、例子example 阶乘的计算n!= n*(n-1)*(n-2)*(n-3)*……*1(n>0) 阅读全文

posted @ 2016-08-31 21:06 yp秋水伊人 阅读(120) 评论(0) 推荐(0) 编辑

结构体 枚举类型

摘要: 结构体: 注意:枚举类型和结构体都属于值类型。 结构体:就是一个自定义的集合,里面可以放各种类型的元素,用法大体跟集合一样。 一、定义的方法: struct student { public int nianling; public int fenshu; public string name; p 阅读全文

posted @ 2016-08-31 21:05 yp秋水伊人 阅读(927) 评论(0) 推荐(0) 编辑

结构体

摘要: 效果图: 开始: 结束: 阅读全文

posted @ 2016-08-31 21:05 yp秋水伊人 阅读(120) 评论(0) 推荐(0) 编辑

out传值

摘要: class Program { public void jia(int a, int b) { a = a + b; Console.WriteLine(a); } } static void Main(string[] args) { Console.Write("请输入a="); int a = 阅读全文

posted @ 2016-08-31 21:04 yp秋水伊人 阅读(113) 评论(0) 推荐(0) 编辑

函数

摘要: 一个较大的程序一般应分为若干个程序块,每一个模块用来实现一个特定的功能。所有的高级语言中都有子函数这个概念,用子程序实现模块的功能。在C#中,子程序的作用是由一个主函数和若干函数构成。有主函数调用其他函数,其它函数也可以互相调用。同一个函数可以被一个或多个函数调用任意次数。 在程序设计中,尝将一些常 阅读全文

posted @ 2016-08-31 20:56 yp秋水伊人 阅读(109) 评论(0) 推荐(0) 编辑

特殊集合

摘要: 特殊集合:一。stack集合、queue集合、hashtable集合 Stack 集合 干草堆 没有索引号 先进后出,一个一个赋值,一个一个取值,按顺序 属性和方法 方法后面跟() .Count 取集合内元素的个数 .push() 将元素一个一个推入集合中 .pop() 将元素一个个弹出合集 .cl 阅读全文

posted @ 2016-08-31 20:55 yp秋水伊人 阅读(294) 评论(0) 推荐(0) 编辑